diff options
author | van Hauser <vh@thc.org> | 2020-10-24 19:11:41 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-10-24 19:11:41 +0200 |
commit | ca938e7c4e0c2829625a505732f14410b6299290 (patch) | |
tree | eaae3098bb8c8a912a17ffb4b0ce9d736f87e6f0 /test/test-basic.sh | |
parent | 18ad8a097cdf84ef3bb3aad11aa2fe51f9f0f967 (diff) | |
download | afl++-ca938e7c4e0c2829625a505732f14410b6299290.tar.gz |
asan_build for tmin and analyze
Diffstat (limited to 'test/test-basic.sh')
-rwxr-xr-x | test/test-basic.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/test-basic.sh b/test/test-basic.sh index 86c6037d..0d16ebd1 100755 --- a/test/test-basic.sh +++ b/test/test-basic.sh @@ -102,10 +102,8 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc $ECHO "$GRAY[*] no bash available, cannot test afl-cmin.bash" } fi - ../afl-tmin -m ${MEM_LIMIT} -i in/in2 -o in2/in2 -- ./test-instr.plain #> /dev/null 2>&1 + ../afl-tmin -m ${MEM_LIMIT} -i in/in2 -o in2/in2 -- ./test-instr.plain > /dev/null 2>&1 SIZE=`ls -l in2/in2 2>/dev/null | awk '{print$5}'` - ls -l in2 - echo SIZE=$SIZE test "$SIZE" = 1 && $ECHO "$GREEN[+] afl-tmin correctly minimized the testcase" test "$SIZE" = 1 || { $ECHO "$RED[!] afl-tmin did incorrectly minimize the testcase to $SIZE" |