about summary refs log tree commit diff
path: root/llvm_mode/LLVMInsTrim.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-23 21:23:10 +0200
committervan Hauser <vh@thc.org>2020-06-23 21:23:10 +0200
commit49a769ac06c78b90882a646f1bcf60248e584b5f (patch)
tree72c5a200f3b28a76bbdb77a193cf2fcae229cde2 /llvm_mode/LLVMInsTrim.so.cc
parent2b450aeb20c31dc26d84d1429ad10b01af7138d8 (diff)
downloadafl++-49a769ac06c78b90882a646f1bcf60248e584b5f.tar.gz
lto whitelist in test.sh
Diffstat (limited to 'llvm_mode/LLVMInsTrim.so.cc')
-rw-r--r--llvm_mode/LLVMInsTrim.so.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm_mode/LLVMInsTrim.so.cc b/llvm_mode/LLVMInsTrim.so.cc
index ced1f383..991127a7 100644
--- a/llvm_mode/LLVMInsTrim.so.cc
+++ b/llvm_mode/LLVMInsTrim.so.cc
@@ -103,6 +103,7 @@ struct InsTrim : public ModulePass {
   bool runOnModule(Module &M) override {
 
     char be_quiet = 0;
+    setvbuf(stdout, NULL, _IONBF, 0);
 
     if ((isatty(2) && !getenv("AFL_QUIET")) || getenv("AFL_DEBUG") != NULL) {