MCPcopy Create free account
hub / github.com/dobin/RedEdr / getMemoryRegionState

Function getMemoryRegionState

RedEdrShared/utils.cpp:345–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343
344
345char* getMemoryRegionState(DWORD type) {
346 const char* memoryType;
347 switch (type) {
348 case MEM_FREE:
349 memoryType = "FREE";
350 break;
351 case MEM_RESERVE:
352 memoryType = "RESERVE";
353 break;
354 case MEM_COMMIT:
355 memoryType = "COMMIT";
356 break;
357 default:
358 memoryType = "Unknown";
359 break;
360 }
361 return (char*) memoryType;
362}
363
364
365wchar_t* GetMemoryPermissions_Unused(wchar_t* buf, DWORD protection) {

Callers 1

ProcessAddrInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected