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 


Find out what writes/acceses (to) this address

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Tue Mar 31, 2009 2:07 pm    Post subject: Find out what writes/acceses (to) this address Reply with quote

I was wondering what the theory behind those functions was, and where they are located in the source.

I've been looking for it at the SVN, but its kinda hard to find there O.o
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Mar 31, 2009 2:28 pm    Post subject: Reply with quote

2 theories:
1: It makes a memory region unwritable or unreadable and on exception store which instruction it is and display that including all the registers etc..., make the memory accessible again, do a single step, and make it inaccessible again

2: Debug registers. It sets a write/access breakpoint using the debug registers (DR0-DR7). On breakpoint it stores whuich instruction and the registers. Unsets the breakpoint (For some reason the skip breakpoint flag just won't work in windows) does a single step, resets the breakpoint, and resumes the process

It's all handled in debugger.pas , a hellhole that has only seen occasional edits since 2003 and I'm currently in the progress of rewriting it completely

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

Joined: 20 Apr 2007
Posts: 668

PostPosted: Tue Mar 31, 2009 2:31 pm    Post subject: Reply with quote

Dark Byte wrote:
2 theories:
1: It makes a memory region unwritable or unreadable and on exception store which instruction it is and display that including all the registers etc..., make the memory accessible again, do a single step, and make it inaccessible again

2: Debug registers. It sets a write/access breakpoint using the debug registers (DR0-DR7). On breakpoint it stores whuich instruction and the registers. Unsets the breakpoint (For some reason the skip breakpoint flag just won't work in windows) does a single step, resets the breakpoint, and resumes the process

It's all handled in debugger.pas , a hellhole that has only seen occasional edits since 2003 and I'm currently in the progress of rewriting it completely


*Omg, i hoped it wasn't in debugger.pas*, i've only looked there a few times...

Thanks for the theory tho', it was indeed useful Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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