MCPcopy Create free account
hub / github.com/ddopson/node-segfault-handler / LoadModules

Method LoadModules

src/StackWalker.cpp:686–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684 }
685public:
686 BOOL LoadModules(HANDLE hProcess, DWORD dwProcessId)
687 {
688 // first try toolhelp32
689 if (GetModuleListTH32(hProcess, dwProcessId))
690 return true;
691 // then try psapi
692 return GetModuleListPSAPI(hProcess);
693 }
694
695
696 BOOL GetModuleInfo(HANDLE hProcess, DWORD64 baseAddr, IMAGEHLP_MODULE64_V2 *pModuleInfo)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected