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-whitelist.so.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm_mode/afl-llvm-lto-whitelist.so.cc') diff --git a/llvm_mode/afl-llvm-lto-whitelist.so.cc b/llvm_mode/afl-llvm-lto-whitelist.so.cc index 617f9ca1..48df76c3 100644 --- a/llvm_mode/afl-llvm-lto-whitelist.so.cc +++ b/llvm_mode/afl-llvm-lto-whitelist.so.cc @@ -217,6 +217,7 @@ bool AFLwhitelist::runOnModule(Module &M) { F.getName().compare("init") == 0 || F.getName().compare("_init") == 0) { + // We do not honor be_quiet for this one WARNF("Cannot ignore functions main/init/start"); } else { -- cgit 1.4.1