diff options
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" |