Hello,
I don't know if this is a bug in libfuzzer or if I'm just doing
something wrong, but I can't seem to fuzz a toy program of mine, it
fails right away with an input file of zero bytes. The program is
C++20, don't know if that's important. The code, just a single file,
is here:
https://github.com/nsajko/hammingCode/blob/master/hammingCoder.cc
The same Git repository has the build.sh file which shows which
compiler options I use, and fuzz.sh, which shows which options I pass
to the fuzzer. Some fuzzer output is attached. The weird thing is that
the stack trace does not mention any lines from my code, thus it seems
like a libfuzzer bug.
The same thing happens with both 10.0.1 and a couple days old trunk.