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/afl-llvm-dict2file.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/afl-llvm-dict2file.so.cc')
-rw-r--r-- | instrumentation/afl-llvm-dict2file.so.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/instrumentation/afl-llvm-dict2file.so.cc b/instrumentation/afl-llvm-dict2file.so.cc index 5350f62b..9daa75a8 100644 --- a/instrumentation/afl-llvm-dict2file.so.cc +++ b/instrumentation/afl-llvm-dict2file.so.cc @@ -154,6 +154,7 @@ bool AFLdict2filePass::runOnModule(Module &M) { for (auto &F : M) { if (isIgnoreFunction(&F)) continue; + if (!isInInstrumentList(&F) || !F.size()) { continue; } /* Some implementation notes. * |