diff options
author | vanhauser-thc <vh@thc.org> | 2021-07-14 14:31:27 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-07-14 14:31:27 +0200 |
commit | 9ec63d3f1776ae1442fe89d5e076b58b36997f76 (patch) | |
tree | 470b04c8a3ddbda1b5fe1e6329eaac93d35ee44d /instrumentation/SanitizerCoverageLTO.so.cc | |
parent | 4fe572b80f76ff0b0e916b639d1e04d5af48b157 (diff) | |
download | afl++-9ec63d3f1776ae1442fe89d5e076b58b36997f76.tar.gz |
fix frida, fix dictionary generation to honor AFL_LLVM_{ALLOW/DENY}LIST
Diffstat (limited to 'instrumentation/SanitizerCoverageLTO.so.cc')
-rw-r--r-- | instrumentation/SanitizerCoverageLTO.so.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/instrumentation/SanitizerCoverageLTO.so.cc b/instrumentation/SanitizerCoverageLTO.so.cc index 28eb0b9f..91b81910 100644 --- a/instrumentation/SanitizerCoverageLTO.so.cc +++ b/instrumentation/SanitizerCoverageLTO.so.cc @@ -516,6 +516,8 @@ bool ModuleSanitizerCoverage::instrumentModule( for (auto &F : M) { + if (!isInInstrumentList(&F) || !F.size()) { continue; } + for (auto &BB : F) { for (auto &IN : BB) { |