diff options
author | van Hauser <vh@thc.org> | 2020-02-19 12:23:59 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-02-19 12:23:59 +0100 |
commit | 8263f3b171c5626f55bb1241bec24d56c5d9825c (patch) | |
tree | 3810108867177bd8e50f39597f8878647c7e1dc6 | |
parent | 0b692fadddf33e9db0541c34c82bbf89118f3a25 (diff) | |
download | afl++-8263f3b171c5626f55bb1241bec24d56c5d9825c.tar.gz |
debug travis
-rwxr-xr-x | test/test.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/test.sh b/test/test.sh index 18414971..29f92623 100755 --- a/test/test.sh +++ b/test/test.sh @@ -587,7 +587,10 @@ test -e ../afl-qemu-trace && { $ECHO "$GREY[*] running afl-fuzz for qemu_mode AFL_ENTRYPOINT, this will take approx 6 seconds" { export AFL_ENTRYPOINT=`expr 0x4$(nm test-instr | grep "T main" | awk '{print $1}' | sed 's/^.......//')` - ../afl-fuzz -m ${MEM_LIMIT} -V2 -Q -i in -o out -- ./test-instr >>errors 2>&1 + { + echo AFL_ENTRYPOINT=$AFL_ENTRYPOINT - $(m test-instr | grep "T main") - $(file ./test-instr) + ../afl-fuzz -m ${MEM_LIMIT} -V2 -Q -i in -o out -- ./test-instr + } >>errors 2>&1 } >>errors 2>&1 test -n "$( ls out/queue/id:000001* 2> /dev/null )" && { $ECHO "$GREEN[+] afl-fuzz is working correctly with qemu_mode AFL_ENTRYPOINT" @@ -602,11 +605,11 @@ test -e ../afl-qemu-trace && { rm -f errors test -e ../libcompcov.so && { - $ECHO "$GREY[*] running afl-fuzz for qemu_mode libcompcov, this will take approx 15 seconds" + $ECHO "$GREY[*] running afl-fuzz for qemu_mode libcompcov, this will take approx 10 seconds" { export AFL_PRELOAD=../libcompcov.so export AFL_COMPCOV_LEVEL=2 - ../afl-fuzz -m ${MEM_LIMIT} -V15 -Q -i in -o out -- ./test-compcov >>errors 2>&1 + ../afl-fuzz -m ${MEM_LIMIT} -V10 -Q -i in -o out -- ./test-compcov >>errors 2>&1 } >>errors 2>&1 test -n "$( ls out/queue/id:000002* 2> /dev/null )" && { $ECHO "$GREEN[+] afl-fuzz is working correctly with qemu_mode libcompcov" |