MCPcopy Create free account
hub / github.com/1401199262/MemoryVirtualization / FreeHiddenMemory

Function FreeHiddenMemory

HideMemory.cpp:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103BOOL FreeHiddenMemory(DWORD64 lpAddress)
104{
105 for (auto it = PagesOfNoAccessOfData.begin(); it != PagesOfNoAccessOfData.end(); it++)
106 {
107 if ((*it).lpAddress == lpAddress)
108 {
109 PagesOfNoAccessOfData.erase(it);
110 return VirtualFree((LPVOID)lpAddress, 0, MEM_RELEASE);
111 }
112 }
113 return FALSE;
114}

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected