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

@ -37,8 +37,6 @@ jobs:
- uses: actions/checkout@v2
- name: install
run: brew install make gcc
- name: debug
run: ls -l /usr/local/bin/g*
- name: fix install
run: cd /usr/local/bin; ln -s gcc-11 gcc; ln -s g++-11 g++; which gcc; gcc -v
- name: build

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