about summary refs log tree commit diff
path: root/instrumentation/afl-llvm-pass.so.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-07-14 14:31:27 +0200
committervanhauser-thc <vh@thc.org>2021-07-14 14:31:27 +0200
commit9ec63d3f1776ae1442fe89d5e076b58b36997f76 (patch)
tree470b04c8a3ddbda1b5fe1e6329eaac93d35ee44d /instrumentation/afl-llvm-pass.so.cc
parent4fe572b80f76ff0b0e916b639d1e04d5af48b157 (diff)
downloadafl++-9ec63d3f1776ae1442fe89d5e076b58b36997f76.tar.gz
fix frida, fix dictionary generation to honor AFL_LLVM_{ALLOW/DENY}LIST
Diffstat (limited to 'instrumentation/afl-llvm-pass.so.cc')
-rw-r--r--instrumentation/afl-llvm-pass.so.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/afl-llvm-pass.so.cc b/instrumentation/afl-llvm-pass.so.cc
index 94b77f7d..ecf28f31 100644
--- a/instrumentation/afl-llvm-pass.so.cc
+++ b/instrumentation/afl-llvm-pass.so.cc
@@ -438,9 +438,9 @@ bool AFLCoverage::runOnModule(Module &M) {
       fprintf(stderr, "FUNCTION: %s (%zu)\n", F.getName().str().c_str(),
               F.size());
 
-    if (!isInInstrumentList(&F)) continue;
+    if (!isInInstrumentList(&F)) { continue; }
 
-    if (F.size() < function_minimum_size) continue;
+    if (F.size() < function_minimum_size) { continue; }
 
     std::list<Value *> todo;
     for (auto &BB : F) {