diff options
author | van Hauser <vh@thc.org> | 2020-09-29 15:02:57 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-09-29 15:02:57 +0200 |
commit | 383cd487a2c28012c80341f8517e473120af4d19 (patch) | |
tree | 64e2367e898abe6855796303e95689cf2f3cd57c /instrumentation/cmplog-routines-pass.cc | |
parent | fe08482c1b2269289bfedea9f0ef2b6721d18221 (diff) | |
download | afl++-383cd487a2c28012c80341f8517e473120af4d19.tar.gz |
small improvements to Marcel's patch, fix laf-intel + redqueen crashes
Diffstat (limited to 'instrumentation/cmplog-routines-pass.cc')
-rw-r--r-- | instrumentation/cmplog-routines-pass.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/instrumentation/cmplog-routines-pass.cc b/instrumentation/cmplog-routines-pass.cc index c44f38c4..e92883ae 100644 --- a/instrumentation/cmplog-routines-pass.cc +++ b/instrumentation/cmplog-routines-pass.cc @@ -149,9 +149,11 @@ bool CmpLogRoutines::hookRtns(Module &M) { } if (!calls.size()) return false; - if (!be_quiet) - errs() << "Hooking " << calls.size() - << " calls with pointers as arguments\n"; + /* + if (!be_quiet) + errs() << "Hooking " << calls.size() + << " calls with pointers as arguments\n"; + */ for (auto &callInst : calls) { @@ -179,8 +181,7 @@ bool CmpLogRoutines::hookRtns(Module &M) { bool CmpLogRoutines::runOnModule(Module &M) { if (getenv("AFL_QUIET") == NULL) - llvm::errs() - << "Running cmplog-routines-pass by andreafioraldi@gmail.com\n"; + printf("Running cmplog-routines-pass by andreafioraldi@gmail.com\n"); else be_quiet = 1; hookRtns(M); |