This commit is contained in:
vanhauser-thc
2021-12-26 01:15:53 +01:00
parent 699c16c7e0
commit 8521eb8413
2 changed files with 2 additions and 2 deletions

View File

@ -48,6 +48,8 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
$ECHO "$GREEN[+] ${AFL_GCC} hardened mode succeeded and is working"
} || {
$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
CODE=1
}
rm -f test-compcov.harden