about summary refs log tree commit diff
path: root/llvm_mode/afl-llvm-pass.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-10-04 10:33:28 +0200
committervan Hauser <vh@thc.org>2019-10-04 10:33:28 +0200
commit9c105098ddbb5f65a24063f08ed34d09aec36b04 (patch)
treee7c1e0d6db0c04ea41719c979dc13829e1adeeaa /llvm_mode/afl-llvm-pass.so.cc
parent9af6395e92a0f5aafcbd5e58b12a162fa7fe5d8c (diff)
downloadafl++-9c105098ddbb5f65a24063f08ed34d09aec36b04.tar.gz
general maintance
Diffstat (limited to 'llvm_mode/afl-llvm-pass.so.cc')
-rw-r--r--llvm_mode/afl-llvm-pass.so.cc10
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