Added AFL Fuzzer in Makefile.in

Starts AFL Fuzzing on build using "make afl"
pull/306/head
DarkRelay 9 months ago committed by GitHub
parent 809204a305
commit bfb4518068
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Makefile.in

@ -307,6 +307,12 @@ testmxml-vg: $(LIBOBJS) testmxml.o
testmxml.o: mxml.h
# Fuzz-test the library <>
.PHONY: afl
afl:
$(MAKE) -$(MAKEFLAGS) CC="afl-clang-fast" COMMONFLAGS="-g" clean all
test afl-output || rm -rf afl-output
afl-fuzz -x xml.dict -i afl-input -o afl-output -V 600 -e xml -t 5000 ./testmxml @@ temps.xml
#
# Analyze code with the Clang static analyzer <https://clang-analyzer.llvm.org>

Loading…
Cancel
Save