MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / GetModuleSize

Method GetModuleSize

Source/Client/NM_Engine/ThreadHelper.cpp:330–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

328}
329
330std::size_t CThread::GetModuleSize()
331{
332 auto dwStartAddress = GetStartAddress();
333 if (!dwStartAddress)
334 return 0;
335
336 auto pOwnModule = (LDR_MODULE *)g_nmApp->DynamicWinapiInstance()->FindModuleFromAddress(dwStartAddress);
337 if (!pOwnModule)
338 return 0;
339
340 return pOwnModule->SizeOfImage;
341}
342
343
344bool CThread::IsOpenedThread()

Callers

nothing calls this directly

Calls 2

FindModuleFromAddressMethod · 0.80
DynamicWinapiInstanceMethod · 0.80

Tested by

no test coverage detected