about summary refs log tree commit diff
path: root/instrumentation/cmplog-routines-pass.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/cmplog-routines-pass.cc
parent22e2362f0fd5685548696f487639104a0059e3eb (diff)
parent2564eb6f8c8ed49b0ec30e1e297ad93067e8f1f2 (diff)
downloadafl++-02fba1cc7e8709c8e0961454136a64f373e4f9ff.tar.gz
Merge pull request #1215 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'instrumentation/cmplog-routines-pass.cc')
-rw-r--r--instrumentation/cmplog-routines-pass.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/cmplog-routines-pass.cc b/instrumentation/cmplog-routines-pass.cc
index 82c2fa4d..076d2779 100644
--- a/instrumentation/cmplog-routines-pass.cc
+++ b/instrumentation/cmplog-routines-pass.cc
@@ -255,7 +255,7 @@ bool CmpLogRoutines::hookRtns(Module &M) {
   /* iterate over all functions, bbs and instruction and add suitable calls */
   for (auto &F : M) {
 
-    if (!isInInstrumentList(&F)) continue;
+    if (!isInInstrumentList(&F, MNAME)) continue;
 
     for (auto &BB : F) {