MCPcopy Create free account
hub / github.com/beefytech/Beef / CheckInit

Function CheckInit

IDEHelper/HandleDbg.cpp:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122static CritSect gHDCritSect;
123
124static void CheckInit()
125{
126 if (gHDInitialized)
127 return;
128
129 gNtQuerySystemInformation = (_NtQuerySystemInformation) GetLibraryProcAddress("ntdll.dll", "NtQuerySystemInformation");
130 gNtDuplicateObject = (_NtDuplicateObject) GetLibraryProcAddress("ntdll.dll", "NtDuplicateObject");
131 gNtQueryObject = (_NtQueryObject) GetLibraryProcAddress("ntdll.dll", "NtQueryObject");
132 gHDInitialized = true;
133}
134
135void HDCheckHandles(const std::string& traceStr)
136{

Callers 1

HDCheckHandlesFunction · 0.85

Calls 1

GetLibraryProcAddressFunction · 0.85

Tested by

no test coverage detected