diff options
author | van Hauser <vh@thc.org> | 2020-07-25 17:38:40 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-07-25 17:38:40 +0200 |
commit | a879f721313a35274ce2d65f9aeed344027a208e (patch) | |
tree | 28b928e6c671c7c744241ed425e37093eb90b0e9 | |
parent | 131df8bec9dc9dd7cf7a1c03d7189ba72580f6ab (diff) | |
download | afl++-a879f721313a35274ce2d65f9aeed344027a208e.tar.gz |
fix
-rwxr-xr-x | test/test.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh index dc85f745..76b089e7 100755 --- a/test/test.sh +++ b/test/test.sh @@ -385,13 +385,13 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && { CODE=1 } rm -f test-compcov.compcov test.out - AFL_LLVM_INSTRUMENT=AFL AFL_DEBUG=1 AFL_NO_UI=1 AFL_LLVM_LAF_ALL=1 ../afl-clang-fast -o test-floatingpoint test-floatingpoint.c > test.out 2>&1 + AFL_LLVM_INSTRUMENT=AFL AFL_LLVM_LAF_ALL=1 ../afl-clang-fast -o test-floatingpoint test-floatingpoint.c > test.out 2>&1 test -e test-floatingpoint && { mkdir -p in echo ZZ > in/in $ECHO "$GREY[*] running afl-fuzz with floating point splitting, this will take max. 30 seconds" { - AFL_BENCH_UNTIL_CRASH=1 ../afl-fuzz -s 123 -V30 -m ${MEM_LIMIT} -i in -o out -- ./test-floatingpoint >>errors 2>&1 + AFL_BENCH_UNTIL_CRASH=1 AFL_NO_UI=1 ../afl-fuzz -s 123 -V30 -m ${MEM_LIMIT} -i in -o out -- ./test-floatingpoint >>errors 2>&1 } >>errors 2>&1 test -n "$( ls out/crashes/id:* 2>/dev/null )" && { $ECHO "$GREEN[+] llvm_mode laf-intel floatingpoint splitting feature works correctly" |