on master help sign in
#6, move the afl-results directory and git ignore it
0626b05Neil Mitchell
.gitignore+1
@@ -8,3 +8,4 @@
8/.stack-work/
8/.stack-work/
9/issues/
9/issues/
10/vs/x64/
10/vs/x64/
11+/afl-results/
afl.sh+1−1
@@ -15,7 +15,7 @@
15AFL_HARDEN=1 afl-clang-fast -O2 -Icbits cbits/fuzz.c -o $PWD/hexml-fuzz
15AFL_HARDEN=1 afl-clang-fast -O2 -Icbits cbits/fuzz.c -o $PWD/hexml-fuzz
16
16
17# Fuzz it
17# Fuzz it
18−AFL_PRELOAD=/usr/local/lib/afl/libdislocator.so afl-fuzz -T hexml -x /usr/local/share/afl/dictionaries/xml.dict -i $PWD/xml -o $PWD/results -- $PWD/hexml-fuzz @@
18+AFL_PRELOAD=/usr/local/lib/afl/libdislocator.so afl-fuzz -T hexml -x /usr/local/share/afl/dictionaries/xml.dict -i $PWD/xml -o $PWD/afl-results -- $PWD/hexml-fuzz @@
19
19
20# Minimize failures
20# Minimize failures
21# $ AFL_PRELOAD=/usr/local/lib/afl/libdislocator.so afl-cmin -i results/crashes/ -o results.shrunk -- $PWD/a.out @@
21# $ AFL_PRELOAD=/usr/local/lib/afl/libdislocator.so afl-cmin -i results/crashes/ -o results.shrunk -- $PWD/a.out @@