How to save and reuse the exception list?

roocoon

New member
Hi all.
Here I am with another question regarding what I'd find a timesaver.

I don't know if I missed something but I couldn't find a way to save the current debugger's exceptions list. That's for IDA 6.1.

Scenario:
I'm debugging plugins under some environment.
For all plugins in that environment, there are a number of exceptions I have to answer to, that relate to the environment itself, graphics driver, etc. This implies I have to babysit the startup process and that could take quite some time.

So, once everything is up and operational, I would like to save the current state of the exceptions.cfg (from RAM or wherever IDA temporarily keeps it), say under some name reflecting the environment.

This saved copy could replace the standard exceptions.cfg whenever I debug under that environment.
A plain batch file (or some IDA loader) could do the replacement and then start up IDA.
No more babysitting this way.

Any ideas?
 

roocoon

New member
Thanks.
I think the reload restores either the default exceptions.cfg or the exceptions saved along with the IDB.

What I want is a way to take the exceptions stored with the IDB and save them as a separate file.
Then I can use that file instead of the default exceptions, for any new plugin I debug under the same environment.

I hope I'm making sense.
 

Storm Shadow

Administrator
Staff member
Developer
Ida Pro Expert
Elite Cracker
i did read about API call tracing almost what you need

http://securityxploded.com/api-call...pydbg-and-idapython.php#API-CALL-PEfile-PyDbg

together with
the python logging http://docs.python.org/2/library/logging.html
http://docs.python.org/2/library/logging.html#logging.exception

the loggin mudule is python standard so would work.
You could do a small plugin that record the exepsions.
In the other hand if its the same exceptions you write them into the exceptions.cfg and in ida set them to pass to either software or debugger or stop like computerline shows
 

roocoon

New member
Thanks for the links Storm Shadow. Lots of reading coming up :) .
Sorry for the delay responding. It was a hectic week but I also spent lots of time enjoying my now working IDA :joyful.png:.
Regards.
 
Top