From 75ac9c013c6c39eeb3c3e826fa2d368fa09975a4 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Tue, 14 Dec 2021 10:15:00 +0100 Subject: better instrumentlist filename detection --- instrumentation/compare-transform-pass.so.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'instrumentation/compare-transform-pass.so.cc') diff --git a/instrumentation/compare-transform-pass.so.cc b/instrumentation/compare-transform-pass.so.cc index 2ced37c5..3f6a6763 100644 --- a/instrumentation/compare-transform-pass.so.cc +++ b/instrumentation/compare-transform-pass.so.cc @@ -130,7 +130,7 @@ bool CompareTransform::transformCmps(Module &M, const bool processStrcmp, * strcmp/memcmp/strncmp/strcasecmp/strncasecmp */ for (auto &F : M) { - if (!isInInstrumentList(&F)) continue; + if (!isInInstrumentList(&F, MNAME)) continue; for (auto &BB : F) { -- cgit 1.4.1