about summary refs log tree commit diff
path: root/instrumentation/afl-llvm-pass.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-12-14 22:10:19 +0100
committerGitHub <noreply@github.com>2021-12-14 22:10:19 +0100
commit02fba1cc7e8709c8e0961454136a64f373e4f9ff (patch)
tree4268feaff62895b2a2ef2b793c36534f5771bda5 /instrumentation/afl-llvm-pass.so.cc
parent22e2362f0fd5685548696f487639104a0059e3eb (diff)
parent2564eb6f8c8ed49b0ec30e1e297ad93067e8f1f2 (diff)
downloadafl++-02fba1cc7e8709c8e0961454136a64f373e4f9ff.tar.gz
Merge pull request #1215 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'instrumentation/afl-llvm-pass.so.cc')
-rw-r--r--instrumentation/afl-llvm-pass.so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-pass.so.cc b/instrumentation/afl-llvm-pass.so.cc
index 640aa4dd..be0bcbc8 100644
--- a/instrumentation/afl-llvm-pass.so.cc
+++ b/instrumentation/afl-llvm-pass.so.cc
@@ -438,7 +438,7 @@ 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, MNAME)) { continue; }
 
     if (F.size() < function_minimum_size) { continue; }