diff options
author | van Hauser <vh@thc.org> | 2020-09-04 22:48:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 22:48:46 +0200 |
commit | 4f7a8a4c70de1b93b1dccd8f2bf092ec4b3626dc (patch) | |
tree | 8c81a16ba76661b0df5307b9964275ff529d4deb /llvm_mode/split-compares-pass.so.cc | |
parent | 7f621509eee57f0b6fd9ad542adc4f2acafeb059 (diff) | |
parent | 976ee9022cda95e0715b82ff866098ad293117c9 (diff) | |
download | afl++-4f7a8a4c70de1b93b1dccd8f2bf092ec4b3626dc.tar.gz |
Merge pull request #542 from AFLplusplus/dev
push to stable
Diffstat (limited to 'llvm_mode/split-compares-pass.so.cc')
-rw-r--r-- | llvm_mode/split-compares-pass.so.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm_mode/split-compares-pass.so.cc b/llvm_mode/split-compares-pass.so.cc index 2e57a30a..2fb90e5e 100644 --- a/llvm_mode/split-compares-pass.so.cc +++ b/llvm_mode/split-compares-pass.so.cc @@ -356,6 +356,8 @@ bool SplitComparesTransform::simplifyIntSignedness(Module &M) { * all signed compares to icomps vector */ for (auto &F : M) { + if (!isInInstrumentList(&F)) continue; + for (auto &BB : F) { for (auto &IN : BB) { @@ -542,6 +544,8 @@ size_t SplitComparesTransform::splitFPCompares(Module &M) { * functions were executed only these four predicates should exist */ for (auto &F : M) { + if (!isInInstrumentList(&F)) continue; + for (auto &BB : F) { for (auto &IN : BB) { @@ -1052,6 +1056,8 @@ size_t SplitComparesTransform::splitIntCompares(Module &M, unsigned bitw) { * were executed only these four predicates should exist */ for (auto &F : M) { + if (!isInInstrumentList(&F)) continue; + for (auto &BB : F) { for (auto &IN : BB) { |