aboutsummaryrefslogtreecommitdiff
path: root/llvm_mode
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2019-09-23 21:59:27 +0200
committerhexcoder- <heiko@hexco.de>2019-09-23 21:59:27 +0200
commitd13592aea0553b18ecf5366a260b3d5d3fe91764 (patch)
tree751b631cf044ec3804103abf99a8d89719759d36 /llvm_mode
parent59d4b0aadb11c893d10a838fa5795286d3fd7264 (diff)
parent96c9fa0ccc4cc9b3db3e448fd685484fd271ca98 (diff)
downloadAFLplusplus-d13592aea0553b18ecf5366a260b3d5d3fe91764.tar.gz
Merge branch 'master' of https://github.com/vanhauser-thc/AFLplusplus
Diffstat (limited to 'llvm_mode')
-rw-r--r--llvm_mode/Makefile2
-rw-r--r--llvm_mode/afl-llvm-pass.so.cc4
2 files changed, 2 insertions, 4 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile
index 2d35505e..96aba898 100644
--- a/llvm_mode/Makefile
+++ b/llvm_mode/Makefile
@@ -83,7 +83,7 @@ CXX = $(LLVM_BINDIR)/clang++
ifeq "$(shell test -e $(CC) || echo 1 )" "1"
# llvm-config --bindir is not providing a valid path, so ...
- ifeq "$(shell test -e "$(BIN_DIR)/clang" && echo 1)" "1"
+ ifeq "$(shell test -e '$(BIN_DIR)/clang' && echo 1)" "1"
# we found one in the local install directory, lets use these
CC = $(BIN_DIR)/clang
CXX = $(BIN_DIR)/clang++
diff --git a/llvm_mode/afl-llvm-pass.so.cc b/llvm_mode/afl-llvm-pass.so.cc
index 5d531a87..58acd9be 100644
--- a/llvm_mode/afl-llvm-pass.so.cc
+++ b/llvm_mode/afl-llvm-pass.so.cc
@@ -105,9 +105,7 @@ bool AFLCoverage::runOnModule(Module &M) {
SAYF(cCYA "afl-llvm-pass" VERSION cRST " by <lszekeres@google.com>\n");
- } else
-
- be_quiet = 1;
+ } else if (getenv("AFL_QUIET")) be_quiet = 1;
/* Decide instrumentation ratio */