updates to OSS-Fuzz integration

adapt more fuzz targets from zlib,
add zip fuzzer, zip dictionary.
update uncompress_fuzzer to seed the buffer length separately.
This commit is contained in:
Randy
2020-11-24 16:51:30 +01:00
parent cd65995953
commit b485d01faf
10 changed files with 466 additions and 7 deletions

View File

@@ -33,3 +33,10 @@ for f in $(find $SRC -name '*_fuzzer.c'); do
rm -f /tmp/$b.o
ln -sf $OUT/seed_corpus.zip $OUT/${b}_seed_corpus.zip
done
# Add .zip input file for the zip fuzzer
rm -f $OUT/zip_fuzzer_seed_corpus.zip
zip $OUT/zip_fuzzer_seed_corpus.zip $OUT/seed_corpus.zip
cp tests/zip.dict $OUT/zip_fuzzer.dict