diff options
author | van Hauser <vh@thc.org> | 2019-10-04 10:33:28 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-10-04 10:33:28 +0200 |
commit | 9c105098ddbb5f65a24063f08ed34d09aec36b04 (patch) | |
tree | e7c1e0d6db0c04ea41719c979dc13829e1adeeaa /llvm_mode/afl-llvm-pass.so.cc | |
parent | 9af6395e92a0f5aafcbd5e58b12a162fa7fe5d8c (diff) | |
download | afl++-9c105098ddbb5f65a24063f08ed34d09aec36b04.tar.gz |
general maintance
Diffstat (limited to 'llvm_mode/afl-llvm-pass.so.cc')
-rw-r--r-- | llvm_mode/afl-llvm-pass.so.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm_mode/afl-llvm-pass.so.cc b/llvm_mode/afl-llvm-pass.so.cc index ae7b566b..3ca5ccc4 100644 --- a/llvm_mode/afl-llvm-pass.so.cc +++ b/llvm_mode/afl-llvm-pass.so.cc @@ -105,7 +105,9 @@ bool AFLCoverage::runOnModule(Module &M) { SAYF(cCYA "afl-llvm-pass" VERSION cRST " by <lszekeres@google.com>\n"); - } else if (getenv("AFL_QUIET")) be_quiet = 1; + } else if (getenv("AFL_QUIET")) + + be_quiet = 1; /* Decide instrumentation ratio */ @@ -222,9 +224,9 @@ bool AFLCoverage::runOnModule(Module &M) { cur_loc = AFL_R(MAP_SIZE); /* There is a problem with Ubuntu 18.04 and llvm 6.0 (see issue #63). - The inline function successors() is not inlined and also not found at runtime :-( - As I am unable to detect Ubuntu18.04 heree, the next best thing is to disable - this optional optimization for LLVM 6.0.0 and Linux */ + The inline function successors() is not inlined and also not found at runtime + :-( As I am unable to detect Ubuntu18.04 heree, the next best thing is to + disable this optional optimization for LLVM 6.0.0 and Linux */ #if !(LLVM_VERSION_MAJOR == 6 && LLVM_VERSION_MINOR == 0) || !defined __linux__ // only instrument if this basic block is the destination of a previous // basic block that has multiple successors |