Luca91 Posted May 10 Share Posted May 10 (edited) 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 by Luca91 Link to comment
X0rby Posted May 10 Share Posted May 10 (edited) Can you explain more? do you want to add exceptions? you can do it manually. Edited May 10 by X0rby 1 Link to comment
Luca91 Posted May 10 Author Share Posted May 10 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 😝 Link to comment
jackyjask Posted May 10 Share Posted May 10 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 1 Link to comment
Luca91 Posted May 10 Author Share Posted May 10 (edited) 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 by Luca91 Link to comment
Luca91 Posted May 12 Author Share Posted May 12 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). Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now