Posted: Wed Oct 08, 2025 6:48 am Post subject: How to track an exception using Cheat Engine?
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.
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
Posted: Wed Oct 08, 2025 3:39 pm Post subject:
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
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