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 --- gcc_plugin/afl-gcc-fast.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc_plugin/afl-gcc-fast.c') diff --git a/gcc_plugin/afl-gcc-fast.c b/gcc_plugin/afl-gcc-fast.c index a57f48d3..8de92cbc 100644 --- a/gcc_plugin/afl-gcc-fast.c +++ b/gcc_plugin/afl-gcc-fast.c @@ -361,7 +361,9 @@ int main(int argc, char** argv, char** envp) { } - } + } else + + be_quiet = 1; check_environment_vars(envp); -- cgit 1.4.1