diff options
author | hexcoder- <hexcoder-@github.com> | 2021-06-05 16:55:24 +0200 |
---|---|---|
committer | hexcoder- <hexcoder-@github.com> | 2021-06-05 16:55:24 +0200 |
commit | 2988dd206c8bfdde67b59f334fe0332c31113a1e (patch) | |
tree | 326ea9fec53c02752abc575e325d99cb11430ed9 | |
parent | fd07853550efe5b2927cd49e008393c69a69934c (diff) | |
download | afl++-2988dd206c8bfdde67b59f334fe0332c31113a1e.tar.gz |
setting AFL_CC for test-llvm.sh on FreeBSD is not necessary anymore
-rwxr-xr-x | test/test-llvm.sh | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/test-llvm.sh b/test/test-llvm.sh index 1152cc4e..7cdc83cb 100755 --- a/test/test-llvm.sh +++ b/test/test-llvm.sh @@ -4,14 +4,6 @@ $ECHO "$BLUE[*] Testing: llvm_mode, afl-showmap, afl-fuzz, afl-cmin and afl-tmin" test -e ../afl-clang-fast -a -e ../split-switches-pass.so && { - # on FreeBSD need to set AFL_CC - test `uname -s` = 'FreeBSD' && { - if type clang >/dev/null; then - export AFL_CC=`command -v clang` - else - export AFL_CC=`$LLVM_CONFIG --bindir`/clang - fi - } ../afl-clang-fast -o test-instr.plain ../test-instr.c > /dev/null 2>&1 AFL_HARDEN=1 ../afl-clang-fast -o test-compcov.harden test-compcov.c > /dev/null 2>&1 test -e test-instr.plain && { |