diff options
author | vanhauser-thc <vh@thc.org> | 2021-12-26 01:49:31 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-12-26 01:49:31 +0100 |
commit | 146eb32c3116cac81870b99750306a6df5e8061c (patch) | |
tree | f80152fc2fd197f77d1330d98673c20e66f3c626 /test/test-basic.sh | |
parent | 550dc989b380f408d144d2db3bdcc69bff21d369 (diff) | |
download | afl++-146eb32c3116cac81870b99750306a6df5e8061c.tar.gz |
make tests working on macos
Diffstat (limited to 'test/test-basic.sh')
-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 c87239d9..ef6c9bb5 100755 --- a/test/test-basic.sh +++ b/test/test-basic.sh @@ -162,7 +162,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" |