mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 02:58:08 +00:00
make tests working on macos
This commit is contained in:
@ -44,7 +44,7 @@ test "$SYS" = "i686" -o "$SYS" = "x86_64" -o "$SYS" = "amd64" -o "$SYS" = "i86pc
|
|||||||
CODE=1
|
CODE=1
|
||||||
}
|
}
|
||||||
test -e test-compcov.harden && {
|
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 "$GREEN[+] ${AFL_GCC} hardened mode succeeded and is working"
|
||||||
} || {
|
} || {
|
||||||
$ECHO "$RED[!] ${AFL_GCC} hardened mode is not hardened"
|
$ECHO "$RED[!] ${AFL_GCC} hardened mode is not hardened"
|
||||||
|
Reference in New Issue
Block a user