MCPcopy Create free account
hub / github.com/Vector35/debugger / GetModuleBase

Method GetModuleBase

core/debuggerstate.cpp:318–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316
317
318bool DebuggerModules::GetModuleBase(const std::string& name, uint64_t& address)
319{
320 if (IsDirty())
321 Update();
322
323 if (name.empty())
324 return false;
325
326 for (const DebugModule& module : m_modules)
327 {
328 if (module.IsSameBaseModule(name))
329 {
330 address = module.m_address;
331 return true;
332 }
333 }
334 return false;
335}
336
337
338DebugModule DebuggerModules::GetModuleByName(const std::string& name)

Callers 1

GetRemoteBaseMethod · 0.80

Calls 1

IsSameBaseModuleMethod · 0.45

Tested by

no test coverage detected