about summary refs log tree commit diff
path: root/llvm_mode/afl-ld.c
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-ld.c
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-ld.c')
-rw-r--r--llvm_mode/afl-ld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm_mode/afl-ld.c b/llvm_mode/afl-ld.c
index 0e85795a..bd451ca5 100644
--- a/llvm_mode/afl-ld.c
+++ b/llvm_mode/afl-ld.c
@@ -424,7 +424,7 @@ static void edit_params(int argc, char** argv) {
 
         } else
 
-            if (dir_ent->d_name[0] != '.')
+            if (dir_ent->d_name[0] != '.' && !be_quiet)
           WARNF("Unusual file found in ar archive %s: %s", argv[i], ar_file);
 
       }