This commit is contained in:
vanhauser-thc
2021-12-26 01:54:19 +01:00
parent 146eb32c31
commit 2d9e0f56b0

View File

@ -50,7 +50,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
$ECHO "$RED[!] ${AFL_GCC} hardened mode is not hardened"
env | egrep 'AFL|PATH|LLVM'
AFL_DEBUG=1 AFL_HARDEN=1 ../${AFL_GCC} -o test-compcov.harden test-compcov.c
grep -Eqa 'stack_chk_fail|fstack-protector-all|fortified' test-compcov.harden && echo found
nm test-compcov.harden
CODE=1
}
rm -f test-compcov.harden