@@ -18,6 +18,9 @@ fi
1818AFL_HARDEN=1 afl-clang-fast -O2 -Icbits cbits/fuzz.c -o $PWD/hexml-fuzz
1919
2020# Fuzz it
21+if ! grep -q core /proc/sys/kernel/core_pattern ; then
22+ sudo echo core > /proc/sys/kernel/core_pattern
23+fi
2124AFL_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 @@
2225
2326# Minimize failures