diff options
author | van Hauser <vh@thc.org> | 2020-06-23 21:23:10 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-06-23 21:23:10 +0200 |
commit | 49a769ac06c78b90882a646f1bcf60248e584b5f (patch) | |
tree | 72c5a200f3b28a76bbdb77a193cf2fcae229cde2 /llvm_mode/afl-llvm-lto-instrumentation.so.cc | |
parent | 2b450aeb20c31dc26d84d1429ad10b01af7138d8 (diff) | |
download | afl++-49a769ac06c78b90882a646f1bcf60248e584b5f.tar.gz |
lto whitelist in test.sh
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r-- | llvm_mode/afl-llvm-lto-instrumentation.so.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc index cbe68171..0d3015d7 100644 --- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc +++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc @@ -109,6 +109,7 @@ bool AFLLTOPass::runOnModule(Module &M) { IntegerType *Int64Ty = IntegerType::getInt64Ty(C); /* Show a banner */ + setvbuf(stdout, NULL, _IONBF, 0); if ((isatty(2) && !getenv("AFL_QUIET")) || debug) { @@ -162,7 +163,7 @@ bool AFLLTOPass::runOnModule(Module &M) { } - if (debug) { fprintf(stderr, "map address is %lu\n", map_addr); } + if (debug) { fprintf(stderr, "map address is 0x%lx\n", map_addr); } /* Get/set the globals for the SHM region. */ |