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 


Getting host process full address range

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

Joined: 18 May 2007
Posts: 45

PostPosted: Sun May 27, 2007 7:49 pm    Post subject: Getting host process full address range Reply with quote

Hey I was wondering what methods I could use to get the the entire processes memory range of valid addresses that I can read with RPM? Thanks!

This is within an Injected DLL
Back to top
View user's profile Send private message
linden
Master Cheater
Reputation: 0

Joined: 10 Mar 2006
Posts: 319

PostPosted: Mon May 28, 2007 3:24 am    Post subject: Reply with quote

VirtualQuery/VirtualQueryEx
But might not work properly if GG is doing its work, since it's hooked from the kernel mode.
Back to top
View user's profile Send private message
Nigtronix
Cheater
Reputation: 0

Joined: 18 May 2007
Posts: 45

PostPosted: Mon May 28, 2007 5:02 pm    Post subject: Reply with quote

How would I use VirtualQuery though like getting the base address of the pages and things?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25807
Location: The netherlands

PostPosted: Mon May 28, 2007 7:09 pm    Post subject: Reply with quote

Virtualqueryex returns a base and size. (and some other stuff like saying if it's commited or reserved)
Use that base and size for the next call of virtualqueryex and after a couple of calls you should have generated a list from all those results

you can also read the pagetables at 0xc0000000 to determine if a memory range is valid

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Nigtronix
Cheater
Reputation: 0

Joined: 18 May 2007
Posts: 45

PostPosted: Thu May 31, 2007 11:41 pm    Post subject: Reply with quote

Thanks, wow Dark Byte posted in my thread Very Happy. I still can't figure out how to get this to work correctly it's giving me a headache. Very Happy
Back to top
View user's profile Send private message
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