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

Function getMemoryRegionType

RedEdrShared/utils.cpp:252–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251
252char* getMemoryRegionType(DWORD type) {
253 const char* memoryType;
254 switch (type) {
255 case MEM_IMAGE:
256 memoryType = "IMAGE";
257 break;
258 case MEM_MAPPED:
259 memoryType = "MAPPED";
260 break;
261 case MEM_PRIVATE:
262 memoryType = "PRIVATE";
263 break;
264 default:
265 memoryType = "Unknown";
266 break;
267 }
268 return (char*)memoryType;
269}
270
271
272// For Section permissions (not page permissions)

Callers 2

TEST_METHODFunction · 0.85
ProcessAddrInfoFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_METHODFunction · 0.68