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

Method LoadModule

CppCoverage/CodeCoverageRunner.cpp:190–205  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

188
189 //-------------------------------------------------------------------------
190 void CodeCoverageRunner::LoadModule(HANDLE hProcess,
191 HANDLE hFile,
192 void* baseOfImage)
193 {
194 HandleInformation handleInformation;
195
196 std::wstring filename = handleInformation.ComputeFilename(hFile);
197
198 auto isSelected = coverageFilterManager_->IsModuleSelected(filename);
199 if (isSelected)
200 {
201 isSelected = monitoredLineRegister_->RegisterLineToMonitor(
202 filename, hProcess, baseOfImage);
203 }
204 filterAssistant_->OnNewModule(filename, isSelected);
205 }
206}

Callers

nothing calls this directly

Calls 4

ComputeFilenameMethod · 0.80
RegisterLineToMonitorMethod · 0.80
OnNewModuleMethod · 0.80
IsModuleSelectedMethod · 0.45

Tested by

no test coverage detected