MCPcopy Create free account
hub / github.com/Inori/GPCS4 / GetModule

Method GetModule

3rdParty/tinydbr/windows/api_helper.cpp:280–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280const TargetModule* ShellcodeHelper::GetModule(void* base_address)
281{
282 for (const auto& mod : m_executor.instrument_modules)
283 {
284 const auto& sections = mod.code_sections;
285 for (const auto& sec : sections)
286 {
287 if (sec.code == base_address)
288 {
289 return &mod;
290 }
291 }
292 }
293
294 return nullptr;
295}

Callers 1

HandleBasicBlockEndMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected