Posted May 10, 20232 yr Hello, I'd like to know if it's possible to programmatically configure the debugger to ignore execptions. What I'd like to achieve is this configuration: I couldn't find any script cmds to configure this aspect of the debugger. Is this even possible? Thanks a lot, Luca Edited May 10, 20232 yr by Luca91
May 10, 20232 yr Can you explain more? do you want to add exceptions? you can do it manually. Edited May 10, 20232 yr by X0rby
May 10, 20232 yr Author 4 minutes ago, X0rby said: Can you explain more? do you want to add exceptions? you can do it manually. Hi @X0rby thank you for your reply. That's the point, I don't wan't to add them manually, but instead I'd like to know is there is any way (programmatically) to configure the debugger to ignore such range of exceptions. I have written some scripts (OEP finders) that relies on the fact that exceptions are ingored, that's why I'm interested in this: in order to have a 100% automatic unpacking script 😝
May 10, 20232 yr It depends if debugger plugin API has such a feature... (I doubt) but I"ve got another crazy idea.. you could try to update the debugger ini file and set options you need, eg: [Ignored exceptions] Range[0]=0 ffffffff Ignore illegal instructions=1 Ignore all FPU exceptions=1 Ignore all service exceptions=1 Ignore custom exception ranges=1 Call UnhandledExceptionFilter=0 Report ignored exceptions to log=1 etc
May 10, 20232 yr Author 11 minutes ago, jackyjask said: It depends if debugger plugin API has such a feature... (I doubt) but I"ve got another crazy idea.. you could try to update the debugger ini file and set options you need, eg: [Ignored exceptions] Range[0]=0 ffffffff Ignore illegal instructions=1 Ignore all FPU exceptions=1 Ignore all service exceptions=1 Ignore custom exception ranges=1 Call UnhandledExceptionFilter=0 Report ignored exceptions to log=1 etc That's a crazy idea but a cool one to be honest! Anyway I'm looking for a programmatically way to achieve this, but within the script context! Edited May 10, 20232 yr by Luca91
May 12, 20232 yr Author 10 hours ago, minh said: Hopefully, this is helpful Hi @minh thanks for your reply, but I was looking for a way to do this from the script context (not from a plugin).
Create an account or sign in to comment