mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Added AFL Fuzzer in Makefile.in
Starts AFL Fuzzing on build using "make afl"
This commit is contained in:
parent
809204a305
commit
bfb4518068
@ -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…
Reference in New Issue
Block a user