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-instructions-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-instructions-pass.cc')
| -rw-r--r-- | instrumentation/cmplog-instructions-pass.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/instrumentation/cmplog-instructions-pass.cc b/instrumentation/cmplog-instructions-pass.cc index d5de3dbb..9921de0c 100644 --- a/instrumentation/cmplog-instructions-pass.cc +++ b/instrumentation/cmplog-instructions-pass.cc @@ -210,7 +210,8 @@ bool CmpLogInstructions::hookInstrs(Module &M) { } if (!icomps.size()) return false; - if (!be_quiet) errs() << "Hooking " << icomps.size() << " cmp instructions\n"; + // if (!be_quiet) errs() << "Hooking " << icomps.size() << " cmp + // instructions\n"; for (auto &selectcmpInst : icomps) { @@ -259,8 +260,7 @@ bool CmpLogInstructions::hookInstrs(Module &M) { bool CmpLogInstructions::runOnModule(Module &M) { if (getenv("AFL_QUIET") == NULL) - llvm::errs() - << "Running cmplog-instructions-pass by andreafioraldi@gmail.com\n"; + printf("Running cmplog-instructions-pass by andreafioraldi@gmail.com\n"); else be_quiet = 1; hookInstrs(M); |
