MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / AddModule

Method AddModule

CppCoverage/ExecutedAddressManager.cpp:77–87  ·  view source on GitHub ↗

-------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

75
76 //-------------------------------------------------------------------------
77 void ExecutedAddressManager::AddModule(
78 const std::wstring& moduleName,
79 void* dllBaseOfImage)
80 {
81 auto it = modules_.find(moduleName);
82
83 if (it == modules_.end())
84 it = modules_.emplace(moduleName, Module{ moduleName }).first;
85 lastModule_.module_ = &it->second;
86 lastModule_.baseOfImage_ = dllBaseOfImage;
87 }
88
89 //-------------------------------------------------------------------------
90 bool ExecutedAddressManager::RegisterAddress(

Callers 13

TESTFunction · 0.80
CreateRandomCoverageDataFunction · 0.80
TEST_FFunction · 0.80
InitCoverageDataFromFunction · 0.80
CreateCoverageDataMethod · 0.80
RegisterLineToMonitorMethod · 0.80
MergeMethod · 0.80
AddLineFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
AddRandomCoverageDataFunction · 0.80

Calls

no outgoing calls

Tested by 9

TESTFunction · 0.64
CreateRandomCoverageDataFunction · 0.64
TEST_FFunction · 0.64
AddLineFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
AddRandomCoverageDataFunction · 0.64
FillCoverageDataFunction · 0.64