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/SanitizerCoveragePCGUARD.so.cc | |
| parent | c6bad07d75aa36671ebc32a722566cb145414b08 (diff) | |
| download | afl++-75ac9c013c6c39eeb3c3e826fa2d368fa09975a4.tar.gz | |
better instrumentlist filename detection
Diffstat (limited to 'instrumentation/SanitizerCoveragePCGUARD.so.cc')
| -rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index 7b1d1d40..c422d858 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -660,7 +660,7 @@ void ModuleSanitizerCoverage::instrumentFunction( Function &F, DomTreeCallback DTCallback, PostDomTreeCallback PDTCallback) { if (F.empty()) return; - if (!isInInstrumentList(&F)) return; + if (!isInInstrumentList(&F, FMNAME)) return; if (F.getName().find(".module_ctor") != std::string::npos) return; // Should not instrument sanitizer init functions. |
