When testing, build with -DDEBUG.

This commit is contained in:
Emil Mikulic
2015-01-01 18:32:01 +11:00
parent 4bf0ef5896
commit 72c5539412
5 changed files with 6 additions and 6 deletions

View File

@@ -2,6 +2,6 @@
AFL_PATH=~/afl/afl-1.06b
export AFL_PATH
TMP=/dev/shm/darkhttpd
AFL_HARDEN=1 $AFL_PATH/afl-gcc -O3 fuzz_make_safe_uri.c -o fuzz_make_safe_uri
AFL_HARDEN=1 $AFL_PATH/afl-gcc -O3 -DDEBUG fuzz_make_safe_uri.c -o fuzz_make_safe_uri
mkdir $TMP
$AFL_PATH/afl-fuzz -i fuzz_testcases -o $TMP ./fuzz_make_safe_uri