| 64 | } |
| 65 | |
| 66 | const 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 | |
| 73 | const char* GetTypeString(DWORD type) { |
| 74 | if (type & MEM_IMAGE) return "IMAGE"; |
no outgoing calls
no test coverage detected