Re: [PATCH] tests: integrate fuzz-dwfl-core into elfutils

2021-12-17 Thread Evgeny Vereshchagin
Hi Mark, > Once you > have the bytes you can simply call Elf *elf_memory (char *__image, > size_t __size), There is no need to first write out the image to disk > and then use a file descriptor to read it back in. I think I should have mentioned in the commit message that the fuzz target came fr

Re: [PATCH] tests: integrate fuzz-dwfl-core into elfutils

2021-12-17 Thread Mark Wielaard
Hi Evgeny, On Sun, Dec 12, 2021 at 03:16:58PM +, Evgeny Vereshchagin via Elfutils-devel wrote: > The fuzz target was integrated into OSS-Fuzz in > https://github.com/google/oss-fuzz/pull/6944 and since then it > has been running there continously (uncovering various issues > along the way). I

[PATCH] tests: integrate fuzz-dwfl-core into elfutils

2021-12-12 Thread Evgeny Vereshchagin via Elfutils-devel
The fuzz target was integrated into OSS-Fuzz in https://github.com/google/oss-fuzz/pull/6944 and since then it has been running there continously (uncovering various issues along the way). It's all well and good but since OSS-Fuzz is far from the elfutils repository it's unnecessarily hard to build