about summary refs log tree commit diff
path: root/test/test-llvm.sh
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-12-26 01:49:31 +0100
committervanhauser-thc <vh@thc.org>2021-12-26 01:49:31 +0100
commit146eb32c3116cac81870b99750306a6df5e8061c (patch)
treef80152fc2fd197f77d1330d98673c20e66f3c626 /test/test-llvm.sh
parent550dc989b380f408d144d2db3bdcc69bff21d369 (diff)
downloadafl++-146eb32c3116cac81870b99750306a6df5e8061c.tar.gz
make tests working on macos
Diffstat (limited to 'test/test-llvm.sh')
-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 cb1849b1..ddbee378 100755
--- a/test/test-llvm.sh
+++ b/test/test-llvm.sh
@@ -110,7 +110,7 @@ test -e ../afl-clang-fast -a -e ../split-switches-pass.so && {
     CODE=1
   }
   test -e test-compcov.harden && test_compcov_binary_functionality ./test-compcov.harden && {
-    grep -Eq$GREPAOPTION 'stack_chk_fail|fstack-protector-all|fortified' test-compcov.harden > /dev/null 2>&1 && {
+    nm test-compcov.harden | grep -Eq 'stack_chk_fail|fstack-protector-all|fortified' > /dev/null 2>&1 && {
       $ECHO "$GREEN[+] llvm_mode hardened mode succeeded and is working"
     } || {
       $ECHO "$RED[!] llvm_mode hardened mode is not hardened"