Posted: Fri Jan 07, 2011 3:46 am Post subject: Kernel Mode Debugger
Hello,
I saw the code in CE source. I was intrested in the kernel mode debugging file, how can I use this? Just call the Start one + the SetBreakpoint? Is that all or do I've to do a lot of things in usermode to?
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
Posted: Fri Jan 07, 2011 8:07 am Post subject:
Not that easy at all.
First you need an interface with the driver so you can give it commands
Then you need to hook the specific cpu's interrupt handler (setting the correct cpu is done in usermode)
Then when the debugging has started you must handle all the debugging mechanisms yourself in usermode. (Setting the trap flag, resume flag, telling it to continue handled or unhandled, etc..)
Look at kerneldebuggerinterface.pas and dbk32functions.pas _________________
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
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