diff options
| author | vanhauser-thc <vh@thc.org> | 2024-01-18 17:12:09 +0100 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2024-01-18 17:12:09 +0100 |
| commit | cefc9a00bfdd789261157874236399e95c244907 (patch) | |
| tree | 00f22007f1e528fa64929688577ed011cced83a1 /instrumentation/SanitizerCoveragePCGUARD.so.cc | |
| parent | e731a1c1ab48dbc9a70a9e5680f00aab307abfa1 (diff) | |
| download | afl++-cefc9a00bfdd789261157874236399e95c244907.tar.gz | |
help selective instrumentation
Diffstat (limited to 'instrumentation/SanitizerCoveragePCGUARD.so.cc')
| -rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index aae04bb1..f88ce126 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -627,6 +627,13 @@ void ModuleSanitizerCoverageAFL::instrumentFunction( } + if (debug) { + + fprintf(stderr, "SanitizerCoveragePCGUARD: instrumenting %s in %s\n", + F.getName().str().c_str(), F.getParent()->getName().str().c_str()); + + } + InjectCoverage(F, BlocksToInstrument, IsLeafFunc); // InjectTraceForCmp(F, CmpTraceTargets); // InjectTraceForSwitch(F, SwitchTraceTargets); |
