Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Memory Regions of a process

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Comic-1337
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Mar 2007
Posts: 1205

PostPosted: Wed Dec 19, 2018 12:29 am    Post subject: Memory Regions of a process Reply with quote

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..
https://imgur.com/OBOFXtn

Thank you[/url]

_________________

Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Wed Dec 19, 2018 1:30 am    Post subject: Reply with quote

VirtualQueryEx.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites