google / oss-fuzz

OSS-Fuzz - continuous fuzzing for open source software.
https://google.github.io/oss-fuzz
Apache License 2.0
10.12k stars 2.15k forks source link

bc-gh: Add Dockerfile and build.sh #12098

Closed gavinhoward closed 1 week ago

gavinhoward commented 1 week ago

I set disabled to true because LeakSanitizer claims the fuzzers have leaks. However, this is not true because bc and dc run without leaks under Valgrind.

After some debugging, I can cause them to free the memory by putting an assert(false); after all of the frees 1, and it trips. But if I remove it, LeakSanitizer sees leaks.

Whether it's PEBKAC (probably) or miscompilation (unlikely), I don't know, but I figured I'd commit the necessary stuff for the project.

I'll try to figure out the problem later.

github-actions[bot] commented 1 week ago

gavinhoward has previously contributed to projects/bc-gh. The previous PR was #12078