aboutsummaryrefslogtreecommitdiff
path: root/instrumentation/split-compares-pass.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/split-compares-pass.so.cc
parentc6bad07d75aa36671ebc32a722566cb145414b08 (diff)
downloadafl++-75ac9c013c6c39eeb3c3e826fa2d368fa09975a4.tar.gz
better instrumentlist filename detection
Diffstat (limited to 'instrumentation/split-compares-pass.so.cc')
-rw-r--r--instrumentation/split-compares-pass.so.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/instrumentation/split-compares-pass.so.cc b/instrumentation/split-compares-pass.so.cc
index 451258d9..0f00fa96 100644
--- a/instrumentation/split-compares-pass.so.cc
+++ b/instrumentation/split-compares-pass.so.cc
@@ -176,7 +176,7 @@ bool SplitComparesTransform::simplifyFPCompares(Module &M) {
* all integer comparisons with >= and <= predicates to the icomps vector */
for (auto &F : M) {
- if (!isInInstrumentList(&F)) continue;
+ if (!isInInstrumentList(&F, MNAME)) continue;
for (auto &BB : F) {
@@ -820,7 +820,7 @@ size_t SplitComparesTransform::splitFPCompares(Module &M) {
* functions were executed only these four predicates should exist */
for (auto &F : M) {
- if (!isInInstrumentList(&F)) continue;
+ if (!isInInstrumentList(&F, MNAME)) continue;
for (auto &BB : F) {
@@ -1463,7 +1463,7 @@ bool SplitComparesTransform::runOnModule(Module &M) {
* compare instructions. Save them into the worklist for later. */
for (auto &F : M) {
- if (!isInInstrumentList(&F)) continue;
+ if (!isInInstrumentList(&F, MNAME)) continue;
for (auto &BB : F) {