| View previous topic :: View next topic |
| Author |
Message |
Screitor Cheater
Reputation: 1
Joined: 26 Nov 2012 Posts: 33 Location: Venezuela
|
Posted: Fri Feb 22, 2013 2:56 am Post subject: How to set a breakpoint in an external process |
|
|
Hi there, I need to set a breakpoint in some address within a external process.
It's just to change the value of EAX, but I don't know how to set a breakpoint, is there some Windows API to do that or something?
Any help would be appreciated.
_________________
Everybody lies.
Last edited by Screitor on Sat Feb 23, 2013 12:45 am; edited 1 time in total |
|
| Back to top |
|
 |
Screitor Cheater
Reputation: 1
Joined: 26 Nov 2012 Posts: 33 Location: Venezuela
|
Posted: Sat Feb 23, 2013 12:25 am Post subject: |
|
|
*bump*
Is that so easy?
C'mon, if CE can do it, I think I also could, the problem is that I don't know where to start.
_________________
Everybody lies. |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25824 Location: The netherlands
|
Posted: Sat Feb 23, 2013 4:34 am Post subject: |
|
|
First write something to capture debug exceptions. That can be by attaching the windows debugger to the game or registering an exception handler, or hooking into the unhandled exception handler function, or interrupt hooks, etc...
Now, set the debug registers(Dr0-4 and dr7 to control it) or a software breakpoint (0xcc: int 3) at the specific spot and wait for an exception to trigger and that it is a single step exception(DRx), or a breakpoint (int 3)
Then do your stuff and to continue:
If debug registers and vista+:
Set the RF flag in the eflags register and just continue
If you are on XP or using int3:
Set the TF flag, remove the breakpoint, do a single step, set the breakpoint back and resume
_________________
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
Last edited by Dark Byte on Sat Feb 23, 2013 4:28 pm; edited 1 time in total |
|
| Back to top |
|
 |
Screitor Cheater
Reputation: 1
Joined: 26 Nov 2012 Posts: 33 Location: Venezuela
|
Posted: Sat Feb 23, 2013 1:36 pm Post subject: |
|
|
Thanks a ton, I'll try it.
_________________
Everybody lies. |
|
| Back to top |
|
 |
|