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

Function GetStateString

RedTest/redtest.cpp:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66const char* GetStateString(DWORD state) {
67 if (state & MEM_COMMIT) return "COMMIT";
68 if (state & MEM_RESERVE) return "RESERVE";
69 if (state & MEM_FREE) return "FREE";
70 return "UNKNOWN";
71}
72
73const char* GetTypeString(DWORD type) {
74 if (type & MEM_IMAGE) return "IMAGE";

Callers 1

EnumerateMemoryRegionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected