about summary refs log tree commit diff
path: root/instrumentation/afl-llvm-dict2file.so.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-12-14 10:15:00 +0100
committervanhauser-thc <vh@thc.org>2021-12-14 10:15:09 +0100
commit75ac9c013c6c39eeb3c3e826fa2d368fa09975a4 (patch)
treeb464809ccf86b21e96013ae417ca2ce5d96c7c32 /instrumentation/afl-llvm-dict2file.so.cc
parentc6bad07d75aa36671ebc32a722566cb145414b08 (diff)
downloadafl++-75ac9c013c6c39eeb3c3e826fa2d368fa09975a4.tar.gz
better instrumentlist filename detection
Diffstat (limited to 'instrumentation/afl-llvm-dict2file.so.cc')
-rw-r--r--instrumentation/afl-llvm-dict2file.so.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-dict2file.so.cc b/instrumentation/afl-llvm-dict2file.so.cc
index bf07a154..5e7faba7 100644
--- a/instrumentation/afl-llvm-dict2file.so.cc
+++ b/instrumentation/afl-llvm-dict2file.so.cc
@@ -156,7 +156,7 @@ bool AFLdict2filePass::runOnModule(Module &M) {
   for (auto &F : M) {
 
     if (isIgnoreFunction(&F)) continue;
-    if (!isInInstrumentList(&F) || !F.size()) { continue; }
+    if (!isInInstrumentList(&F, MNAME) || !F.size()) { continue; }
 
     /*  Some implementation notes.
      *