I'm reversing a program that dynamically loads SetUnhandledExceptionFilter and uses it to set a function as an exception handler. It then calls int 2D
- so that execution transfers to the function only when the program is not being debugged.
I want to see how the function behaves dynamically - specifically because I'm having trouble understanding how it works with its EXCEPTION_POINTER*
parameter - but I can't really do that because execution won't even transfer there while I'm debugging.
How can I make IDA execute int 2D so that I can see execution transfer to the exception handler function and see its behavior dynamically?
I tried following the advice in this answer, but it didn't help: changing 0x2DCD
to 0x2DFF
had the exact same effect - the program crashed.