on master help sign in
#6, fix up core pattern
f2e8131Neil Mitchell
@@ -18,6 +18,9 @@ fi
18AFL_HARDEN=1 afl-clang-fast -O2 -Icbits cbits/fuzz.c -o $PWD/hexml-fuzz
18AFL_HARDEN=1 afl-clang-fast -O2 -Icbits cbits/fuzz.c -o $PWD/hexml-fuzz
19
19
20# Fuzz it
20# Fuzz it
21+if ! grep -q core /proc/sys/kernel/core_pattern ; then
22+ sudo echo core > /proc/sys/kernel/core_pattern
23+fi
21AFL_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 @@
24AFL_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 @@
22
25
23# Minimize failures
26# Minimize failures