diff options
| author | van Hauser <vh@thc.org> | 2020-07-29 11:39:00 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-29 11:39:00 +0200 |
| commit | 4550613f58342632061944ef09add63240d774cc (patch) | |
| tree | 7896b5ec1f49b3ebe32d1466e85ea8f536ad599e /test/test.sh | |
| parent | ff107714f1af1bd908a35ce54701da1eca8ce25d (diff) | |
| parent | 015fde3703c7b67ee65d74b0f4b7b68b5d1e4d7e (diff) | |
| download | afl++-4550613f58342632061944ef09add63240d774cc.tar.gz | |
Merge branch 'dev' into text_inputs
Diffstat (limited to 'test/test.sh')
| -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 15082070..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_LLVM_LAF_SPLIT_COMPARES=1 AFL_LLVM_LAF_SPLIT_FLOATS=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 -s1 -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" |
