diff options
author | vanhauser-thc <vh@thc.org> | 2021-12-14 10:15:00 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-12-14 10:15:09 +0100 |
commit | 75ac9c013c6c39eeb3c3e826fa2d368fa09975a4 (patch) | |
tree | b464809ccf86b21e96013ae417ca2ce5d96c7c32 /instrumentation/afl-llvm-pass.so.cc | |
parent | c6bad07d75aa36671ebc32a722566cb145414b08 (diff) | |
download | afl++-75ac9c013c6c39eeb3c3e826fa2d368fa09975a4.tar.gz |
better instrumentlist filename detection
Diffstat (limited to 'instrumentation/afl-llvm-pass.so.cc')
-rw-r--r-- | instrumentation/afl-llvm-pass.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-pass.so.cc b/instrumentation/afl-llvm-pass.so.cc index 640aa4dd..be0bcbc8 100644 --- a/instrumentation/afl-llvm-pass.so.cc +++ b/instrumentation/afl-llvm-pass.so.cc @@ -438,7 +438,7 @@ bool AFLCoverage::runOnModule(Module &M) { fprintf(stderr, "FUNCTION: %s (%zu)\n", F.getName().str().c_str(), F.size()); - if (!isInInstrumentList(&F)) { continue; } + if (!isInInstrumentList(&F, MNAME)) { continue; } if (F.size() < function_minimum_size) { continue; } |