diff options
| author | vanhauser-thc <vh@thc.org> | 2022-03-15 07:35:37 +0100 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2022-03-15 07:35:37 +0100 |
| commit | 2b8fea083e6071fe0934e4a939ab651b44118208 (patch) | |
| tree | 48de4b93ca606ef69c24a038b1ed8743311483c5 /instrumentation/SanitizerCoveragePCGUARD.so.cc | |
| parent | 5385cc7618c387dfbfb6a0a06cfa63ed45b50d15 (diff) | |
| download | afl++-2b8fea083e6071fe0934e4a939ab651b44118208.tar.gz | |
test
Diffstat (limited to 'instrumentation/SanitizerCoveragePCGUARD.so.cc')
| -rw-r--r-- | instrumentation/SanitizerCoveragePCGUARD.so.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/instrumentation/SanitizerCoveragePCGUARD.so.cc b/instrumentation/SanitizerCoveragePCGUARD.so.cc index d3529fbc..f87bc068 100644 --- a/instrumentation/SanitizerCoveragePCGUARD.so.cc +++ b/instrumentation/SanitizerCoveragePCGUARD.so.cc @@ -281,6 +281,8 @@ class ModuleSanitizerCoverageLegacyPass : public ModulePass { PreservedAnalyses ModuleSanitizerCoveragePass::run(Module & M, ModuleAnalysisManager &MAM) { + fprintf(stderr, "ModuleSanitizerCoveragePass::run is called!\n"); + ModuleSanitizerCoverage ModuleSancov(Options #if (LLVM_VERSION_MAJOR >= 11) , @@ -1484,12 +1486,12 @@ std::string ModuleSanitizerCoverage::getSectionEnd( } char ModuleSanitizerCoverageLegacyPass::ID = 0; -INITIALIZE_PASS_BEGIN(ModuleSanitizerCoverageLegacyPass, "sancov", +INITIALIZE_PASS_BEGIN(ModuleSanitizerCoverageLegacyPass, "sancovAFL", "Pass for instrumenting coverage on functions", false, false) INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass) INITIALIZE_PASS_DEPENDENCY(PostDominatorTreeWrapperPass) -INITIALIZE_PASS_END(ModuleSanitizerCoverageLegacyPass, "sancov", +INITIALIZE_PASS_END(ModuleSanitizerCoverageLegacyPass, "sancovAFL", "Pass for instrumenting coverage on functions", false, false) ModulePass *llvm::createModuleSanitizerCoverageLegacyPassPass( |
