diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23afc8f3..120c5afb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/test/test-basic.sh b/test/test-basic.sh index c39faa74..393e47ea 100755 --- a/test/test-basic.sh +++ b/test/test-basic.sh @@ -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