| // Allocate a buffer within our process. | |
| PVOID Private = VirtualAlloc(NULL, 4096, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); | |
| // Use the memory to make sure it's resident. | |
| reinterpret_cast<PBYTE>(Private)[0] = 0xFF; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment