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 


[CE]Memory Regions

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

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Mon Jul 30, 2007 5:18 pm    Post subject: [CE]Memory Regions Reply with quote

I'm writing a memory scanner with my dad in C#, and because there are so many addresses in a Win32 program (400000 - 7FFFFFFF), it takes forever to scan. However, using Memory Regions (as I believe CE does), one could eliminate all of the unused memory, and just scan the needed memory.

At ~300k Addresses a second (my dad tested), one could easily get through the used memory.

Now, I know that CE takes only a few seconds to scan the program for a value, so I'm guessing that it doesn't scan the unused memory.

How does it do this?

I have checked the Delphi source code with my dad, but the stuff just baffles us both (we used Ultra Edit's find in file function, for one of the functions that the New Scan thing that the main window).
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Mon Jul 30, 2007 7:38 pm    Post subject: Reply with quote

virtualqueryex
and if kernelmode virtualqueryex is chosen it looks at the pagetable

_________________
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
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Mon Jul 30, 2007 8:11 pm    Post subject: Reply with quote

Thank you very much.

I think my dad and I actually found something with VirtualQueryEx, and we added it to a class with some other stuff like ProcessMemoryReading and writing.

When you say "KernelMode", are you referring to the option in the Settings under the Extra Tab? And the page table is that little box that it has?
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