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 


How to track an exception using Cheat Engine?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
kulik_alex
Newbie cheater
Reputation: 0

Joined: 19 Mar 2024
Posts: 19

PostPosted: Wed Oct 08, 2025 6:48 am    Post subject: How to track an exception using Cheat Engine? Reply with quote

The application I'm trying to reverse engineer intentionally executes unsupported opcodes, and some of the code is executed by a handler.
Step Into does not follow inside the handler.
I know that the handler address can be obtained by setting a breakpoint in ntdll.
Code:
ntdll.RtlUnwind+448 - mov edx,[ecx+04]

But is it possible to achieve continuous tracing using Cheat Engine or another application? Something like
Code:
app - working code
app - broken code
handler - code
app - after broken code

There must be some other OS code around the handler, like ntdll.KiUserExceptionDispatcher, so I'm not sure.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Oct 08, 2025 3:39 pm    Post subject: Reply with quote

CE has a continue unhandled option.

If you're using the windows debugger, place a breakpoint in NtRaiseException before you continue unhandled, and it'll break there and then you can continue stepping

When using the VEH debugger it's a bit more difficult. You'll have to find out the routine that's going to get handled next in advance

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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