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

1
.gitignore vendored
View File

@ -4,6 +4,7 @@
*.o *.o
*.so.1 *.so.1
/.vs /.vs
/afl-output
/doc/pdfio.epub /doc/pdfio.epub
/packages /packages
/pdfio.xcodeproj/xcshareddata /pdfio.xcodeproj/xcshareddata

View File

@ -181,7 +181,8 @@ doc:
# Fuzz-test the library <> # Fuzz-test the library <>
.PHONY: afl .PHONY: afl
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 @@ afl-fuzz -x afl-pdf.dict -i afl-input -o afl-output -V 600 -e pdf -t 5000 ./testpdfio @@

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.