Fix AFL target, remove excess PDF test files.

This commit is contained in:
Michael R Sweet
2021-11-30 08:13:41 -05:00
parent 7ab550254a
commit 019c05d04a
18 changed files with 3 additions and 11099 deletions

View File

@ -181,7 +181,8 @@ doc:
# Fuzz-test the library <>
.PHONY: afl
afl:
$(MAKE) -$(MAKEFLAGS) CC="afl-clang" COMMONFLAGS="-g -fsanitize=address" clean all
$(MAKE) -$(MAKEFLAGS) CC="afl-clang-fast" COMMONFLAGS="-g" clean all
test afl-output || rm -rf afl-output
afl-fuzz -x afl-pdf.dict -i afl-input -o afl-output -V 600 -e pdf -t 5000 ./testpdfio @@