about summary refs log tree commit diff
path: root/test/test-gcc-plugin.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-gcc-plugin.sh')
-rwxr-xr-xtest/test-gcc-plugin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-gcc-plugin.sh b/test/test-gcc-plugin.sh
index 50d83e40..95ae9c47 100755
--- a/test/test-gcc-plugin.sh
+++ b/test/test-gcc-plugin.sh
@@ -40,7 +40,7 @@ test -e ../afl-gcc-fast -a -e ../afl-compiler-rt.o && {
   }
 
   test -e test-compcov.harden.gccpi && test_compcov_binary_functionality ./test-compcov.harden.gccpi && {
-    grep -Eq$GREPAOPTION 'stack_chk_fail|fstack-protector-all|fortified' test-compcov.harden.gccpi > /dev/null 2>&1 && {
+    nm test-compcov.harden.gccpi | grep -Eq 'stack_chk_fail|fstack-protector-all|fortified' > /dev/null 2>&1 && {
       $ECHO "$GREEN[+] gcc_plugin hardened mode succeeded and is working"
     } || {
       $ECHO "$RED[!] gcc_plugin hardened mode is not hardened"