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 


How does CE knows "what writes to some address" ??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
JWP Programs
Newbie cheater
Reputation: 0

Joined: 19 Dec 2011
Posts: 23

PostPosted: Wed Feb 22, 2012 2:59 am    Post subject: How does CE knows "what writes to some address" ?? Reply with quote

Hi, I wondered that
how can I make "Find out what writes to this address" ??
In fact, I am making a Memory Editor.
so I tried to add some functions in my Memory Editor.
one of the function that I want to add is "Find out what writes to this address".
I tried many things to make it.
DebugActiveProcess suspended my process ( In delphi ),
AddVectoredExceptionHandler confused me.
ExceptionAddress ( In ExceptionRecord ) was not real ExceptionAddress( I mean.. I wanted to find out what writes the address. but It was just the address..).
etc...
so I was tolerated long time.. and question.

HOW CAN I MAKE "WHAT WRITES TO THIS ADDRESS" LIKE CE ??
Thanks for reading.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Wed Feb 22, 2012 3:09 am    Post subject: Reply with quote

Look into debug registers
_________________
Tools give you results. Knowledge gives you control.

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

Joined: 19 Dec 2011
Posts: 23

PostPosted: Wed Feb 22, 2012 4:35 am    Post subject: Umm.. Reply with quote

Thanks.. but you mean "CONTEXT_DEBUG_REGISTERS" ??
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Wed Feb 22, 2012 5:10 am    Post subject: Reply with quote

half, that flag is required to read and set them, but I was talking about setting the debug registers (DRx) so they cause a breakpoint when an address is written to
_________________
Tools give you results. Knowledge gives you control.

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

Joined: 19 Dec 2011
Posts: 23

PostPosted: Wed Feb 22, 2012 5:13 am    Post subject: Thanks! Reply with quote

Thanks for answering!
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