Grandmaster Cheater Supreme
Joined: 30 Mar 2007
|Posted: Wed Dec 19, 2018 12:29 am Post subject: Memory Regions of a process
|Hi guys, I am trying to learn some stuffs and I would like to ask how do a view the memory regions in C++ like how CE does..Memory Viewer > View > Memory Region (OR CTRL+R)
I've tried 2 approaches but it doesn't really work for me.. would like to ask for opinions on how to get started.
1st approach was to do a ReadProcessMemory byte by byte to get if it returns 0 or non-zero, but this method takes too long..
2nd approach was to get the module's base address and size using snapshots..
however, I would can only get the process' memory range.
I would like to know how can I read the blue part
and sort them accordingly like how CE does..