How can I catch the exceptions generated by an instrumented application in Intel PIN?
I know about PIN_AddInternalExceptionHandler
. This is not what I mean, this catches exceptions generated by the PinTool itself (if I understood correctly)
I found this resource. Although it is a clever solution (check EIP against KiUserExceptionDispatcher
) I can not instrument every instruction in my case.
Is there a simple way to achieve this?