 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Tue Mar 31, 2009 2:07 pm Post subject: Find out what writes/acceses (to) this address |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Tue Mar 31, 2009 2:28 pm Post subject: |
|
|
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 |
|
 |
Anden100 Grandmaster Cheater
Reputation: 0
Joined: 20 Apr 2007 Posts: 668
|
Posted: Tue Mar 31, 2009 2:31 pm Post subject: |
|
|
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
|
|
Back to top |
|
 |
|
|
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
|
|