about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2021-03-19 09:44:04 +0100
committerAndrea Fioraldi <andreafioraldi@gmail.com>2021-03-19 09:44:04 +0100
commit5be7d9c1cc92b79e0e230d7bfeee8e2bd719da5c (patch)
tree8859dbf3080db6261dbe0b61e9d462c591adb6eb /test
parent44347beff04e37cb394739e307488a155464faeb (diff)
downloadafl++-5be7d9c1cc92b79e0e230d7bfeee8e2bd719da5c.tar.gz
fix dynamic list usage error in afl-cc
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-llvm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-llvm.sh b/test/test-llvm.sh
index 93f3b365..8b5896c5 100755
--- a/test/test-llvm.sh
+++ b/test/test-llvm.sh
@@ -63,7 +63,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
         } || {
           $ECHO "$GREEN[+] llvm_mode test-dlopen instrumentation present and working correctly"
           TUPLES=`echo 0|TEST_DLOPEN_TARGET=./test-instr.so AFL_QUIET=1 ../afl-showmap -m ${MEM_LIMIT} -o /dev/null -- ./test-dlopen.plain 2>&1 | grep Captur | awk '{print$3}'`
-          test "$TUPLES" -gt 2 -a "$TUPLES" -lt 8 && {
+          test "$TUPLES" -gt 3 -a "$TUPLES" -lt 9 && {
             $ECHO "$GREEN[+] llvm_mode test-dlopen run reported $TUPLES instrumented locations which is fine"
           } || {
             $ECHO "$RED[!] llvm_mode test-dlopen instrumentation produces weird numbers: $TUPLES"