diff options
author | hexcoder <hexcoder-@users.noreply.github.com> | 2021-06-05 17:04:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-05 17:04:10 +0200 |
commit | 280814c3a29e42df618fe6291d101f02154995bf (patch) | |
tree | 12e2ee2a2771825c853443fee04f97410a166682 /test/test-llvm.sh | |
parent | ddd9154e7867a4aff62099f3a4c50b173e51cae0 (diff) | |
download | afl++-280814c3a29e42df618fe6291d101f02154995bf.tar.gz |
setting AFL_CC for test-llvm.sh on FreeBSD is not necessary anymore
Diffstat (limited to 'test/test-llvm.sh')
-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 && { |