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

Method Extract

FileFilter/RelocationsExtractor.cpp:142–151  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

140
141 //-------------------------------------------------------------------------
142 std::unordered_set<DWORD64>
143 RelocationsExtractor::Extract(HANDLE hProcess, DWORD64 baseOfImage) const
144 {
145 Tools::PEFileHeader peFileHeader;
146 PEFileHeaderHandler handler;
147
148 peFileHeader.Load(hProcess, baseOfImage, handler);
149
150 return std::move(handler.relocations_);
151 }
152}

Callers 2

UpdateCachesIfExpiredMethod · 0.80
TESTFunction · 0.80

Calls 1

LoadMethod · 0.80

Tested by 1

TESTFunction · 0.64