about summary refs log tree commit diff
path: root/llvm_mode/afl-llvm-lto-instrumentation.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-03-09 10:56:53 +0100
committervan Hauser <vh@thc.org>2020-03-09 10:56:53 +0100
commitdcf7d85cba9a8ee5a33cff578fe48bdbccda1a3d (patch)
tree07e5d1337b58053645ae470e00aae12cd3b61a5e /llvm_mode/afl-llvm-lto-instrumentation.so.cc
parent8e953d99314203f5c996b4a327403563b1c4ec00 (diff)
downloadafl++-dcf7d85cba9a8ee5a33cff578fe48bdbccda1a3d.tar.gz
honor no_quiet for missing llvm_mode output, also print to stderr with afl-*-rt.o.c instead of stdout for errors plus two potential bad free() fixes
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r--llvm_mode/afl-llvm-lto-instrumentation.so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
index d3224700..febb8950 100644
--- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc
+++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc
@@ -282,7 +282,7 @@ bool AFLLTOPass::runOnModule(Module &M) {
 
           if (!newBB) {
 
-            WARNF("Split failed!");
+            if (!be_quiet) WARNF("Split failed!");
             continue;
 
           }