diff options
author | vanhauser-thc <vh@thc.org> | 2021-12-26 01:55:52 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-12-26 01:55:52 +0100 |
commit | a91d445b5f89175ab3e7fd183a46c23011d2e1bc (patch) | |
tree | ab51ef47ed74885245cc7dce9647f980fefdf2f5 | |
parent | 2d9e0f56b05e05ef7a485ccca95753a686535fb6 (diff) | |
download | afl++-a91d445b5f89175ab3e7fd183a46c23011d2e1bc.tar.gz |
make tests working on macos
-rwxr-xr-x | test/test-basic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-basic.sh b/test/test-basic.sh index 2c8ea122..bec42b4d 100755 --- a/test/test-basic.sh +++ b/test/test-basic.sh @@ -44,7 +44,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc CODE=1 } test -e 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[+] ${AFL_GCC} hardened mode succeeded and is working" } || { $ECHO "$RED[!] ${AFL_GCC} hardened mode is not hardened" |