aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-12-26 01:24:03 +0100
committervanhauser-thc <vh@thc.org>2021-12-26 01:24:03 +0100
commit649076600dc1db265de43c3bc2d7a3bcf0aa4b5c (patch)
treeb71e7928ffd81d8fb9c3f08dec54e5020eae86cf
parent8521eb841364a06914b3ea7d8090b69d9de1dcd4 (diff)
downloadAFLplusplus-649076600dc1db265de43c3bc2d7a3bcf0aa4b5c.tar.gz
debug ci
-rwxr-xr-xtest/test-basic.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test-basic.sh b/test/test-basic.sh
index 393e47ea..c87239d9 100755
--- a/test/test-basic.sh
+++ b/test/test-basic.sh
@@ -50,6 +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
CODE=1
}
rm -f test-compcov.harden