aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-11-13 16:02:36 +0100
committervan Hauser <vh@thc.org>2019-11-13 16:02:36 +0100
commita9d0cad4851bf6982b78aaaf007e438c07051d1d (patch)
treebac638dc093b5b763579a07c3ac781c1de58a329 /test
parentf85b0d421a8d7dec6abbf4eb02798cb3d2569bff (diff)
downloadafl++-a9d0cad4851bf6982b78aaaf007e438c07051d1d.tar.gz
old gcc produces not so good code ...
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.sh b/test/test.sh
index 4953f4e1..89f90a29 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -89,7 +89,7 @@ test -e ../${AFL_GCC} -a -e ../afl-showmap -a -e ../afl-fuzz && {
}
rm -f test-instr.plain.0 test-instr.plain.1
TUPLES=`echo 0|../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-instr.plain 2>&1 | grep Captur | awk '{print$3}'`
- test "$TUPLES" -gt 3 -a "$TUPLES" -lt 6 && {
+ test "$TUPLES" -gt 3 -a "$TUPLES" -lt 7 && {
$ECHO "$GREEN[+] ${AFL_GCC} run reported $TUPLES instrumented locations which is fine"
} || {
$ECHO "$RED[!] ${AFL_GCC} produces weird instrumentation numbers: $TUPLES"
@@ -297,7 +297,7 @@ test -e ../afl-gcc-fast && {
} || {
$ECHO "$GREEN[+] gcc_plugin instrumentation present and working correctly"
TUPLES=`echo 0|../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-instr.plain.gccpi 2>&1 | grep Captur | awk '{print$3}'`
- test "$TUPLES" -gt 3 -a "$TUPLES" -lt 6 && {
+ test "$TUPLES" -gt 3 -a "$TUPLES" -lt 7 && {
$ECHO "$GREEN[+] gcc_plugin run reported $TUPLES instrumented locations which is fine"
} || {
$ECHO "$RED[!] gcc_plugin instrumentation produces weird numbers: $TUPLES"