From dcf7d85cba9a8ee5a33cff578fe48bdbccda1a3d Mon Sep 17 00:00:00 2001 From: van Hauser Date: Mon, 9 Mar 2020 10:56:53 +0100 Subject: 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 --- llvm_mode/afl-llvm-lto-instrumentation.so.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc') 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; } -- cgit 1.4.1