Open ghutchis opened 8 months ago
Here's an example of loading files from a corpus: https://github.com/google/fuzztest/blob/main/doc/fuzz-test-macro.md#loading-seed-inputs-from-a-directory
It looks like this requires separate directories for each file type.
The latest seems to be fuzztest: https://github.com/google/fuzztest/blob/main/doc/quickstart-cmake.md https://github.com/google/fuzztest/blob/main/doc/use-cases.md
I'd suggest adding fuzz tests for all the "native" file formats, e.g:
Obvious many of the other formats should also get fuzz testing, but that's a good start.