diff options
author | vanhauser-thc <vh@thc.org> | 2021-12-26 01:15:53 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-12-26 01:15:53 +0100 |
commit | 8521eb841364a06914b3ea7d8090b69d9de1dcd4 (patch) | |
tree | 1a5e58cd4ba9b0e71ca62e46a85a68ce06f883c1 | |
parent | 699c16c7e054006511a79a3a11f54d3f6c74a253 (diff) | |
download | afl++-8521eb841364a06914b3ea7d8090b69d9de1dcd4.tar.gz |
debug ci
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rwxr-xr-x | test/test-basic.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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 |