jeudi 26 mars 2015

Leave INT3 breaks to application's exception handler on visual studio


I'm actually developing a DLL that is injected into a process. This DLL sets several INT3 breaks around the executable's code which is called a lot. My DLL's exception handler catches those INT3 to change several register values and stuff like this, then it resumes the process so it can continue working.


The problem is: when I need to debug the DLL (by launching the application within visual studio) all those INT3 are being processes by visual studio. Is there any way to tell visual studio to pass those exceptions to the application's (dll) exception handler?


Important notes:



  • I can't disable those INT3s, because the actual dll code happens when those exceptions occur (on the handler).

  • The executable is compiled. I don't have the source code.


Thanks




Aucun commentaire:

Enregistrer un commentaire