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 


what is kernel debug?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
nune
How do I cheat?
Reputation: 0

Joined: 28 Dec 2005
Posts: 5

PostPosted: Wed Dec 28, 2005 2:27 pm    Post subject: what is kernel debug? Reply with quote

i try to write a tranier,use "DebugActiveProcess" attach a process,
and set BP on some memory address(fault);
becuz it .......
so i want to use "kernel debug" (like ce);
but i hv no idea ,what is "kernel debug",
also set BP on some memory address (User Mode),
then do something ,like change reg(Kernel mode)?or ?
<i hv hook int1/3>
hope Dark Byte can teach me (only some ez step)
thx a lot
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Dec 28, 2005 4:01 pm    Post subject: Reply with quote

kernel debug works by modifying the interrupt table or hooking the original interrupt handler to point to my own handler

Then set some hardware breakpoints. (either in the context of the thread or on a taskswitch to the target thread)

Then when the hardware breakpoint gets hit it generates a interrupt 1 . My own handler then handles it and sees what to do. (Either let it go through the original program, or stop all handling and just continue the game, after doping stuff like saving the registers or editing them)

This is the easy way I can explain it, for more info, look at the device drivers sourcecode (dbkfunc.c handles that stuff)

_________________
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
nune
How do I cheat?
Reputation: 0

Joined: 28 Dec 2005
Posts: 5

PostPosted: Wed Dec 28, 2005 11:36 pm    Post subject: Reply with quote

Dark Byte wrote:
kernel debug works by modifying the interrupt table or hooking the original interrupt handler to point to my own handler

Then set some hardware breakpoints. (either in the context of the thread or on a taskswitch to the target thread)

Then when the hardware breakpoint gets hit it generates a interrupt 1 . My own handler then handles it and sees what to do. (Either let it go through the original program, or stop all handling and just continue the game, after doping stuff like saving the registers or editing them)

This is the easy way I can explain it, for more info, look at the device drivers sourcecode (dbkfunc.c handles that stuff)


First,thanks

my trouble is how to set BP on target thread in kernel mode(some memory address); <at ce sorcecode ?>
now i can set BP (in usemode),and i can hook int 1;

have a good day!
Back to top
View user's profile Send private message
Zhoul
Master Cheater
Reputation: 1

Joined: 19 Sep 2005
Posts: 394

PostPosted: Thu Dec 29, 2005 3:41 pm    Post subject: Reply with quote

Being a helpdesk tech, I get a lot of people who ask very direct fix-it/how-to questions, but have found that most of the time, there's an even simpler way to accomplish that which they're trying to do over-all (rather then proceed with their initial plan).

Using breakpoints and reading debug registers is a bit 'extensive' for a trainer eh?

Wait! Let me guess... Multi-player game? Cool

Just because im curious - Let us know what you're attempting to accomplish here over-all. And again, because I'm curious, I wont flame thee if it is a multi-player game - Altho DB may move the post on ya Cool

I have a reputation for ripping on multi-player cheaters, but since you're actually trying to create, rather then asking someone else to hand it to you on a silver platter... Why not!
Back to top
View user's profile Send private message AIM Address
nune
How do I cheat?
Reputation: 0

Joined: 28 Dec 2005
Posts: 5

PostPosted: Thu Dec 29, 2005 9:10 pm    Post subject: Reply with quote

Not Multi Player Game;
Only some trouble softweare, Crying or Very sad
above question i have answer by myself (use google)Wink
thanks anyway Idea
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 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