Forums >> IDA Pro >> Stack tracing with IDA Pro plugin
Topic created on: September 4, 2009 20:44 CDT by sweetlie.
Hi,
I am writing IDA Pro plugin to automate debugging.
How can I get stack tracing information - especially, all callers -?
It seems that no related api is provided.
Regards.
You can use the IDA-SDK itself. A documentation is implicitly given by the header files.
IDA Plug-In writing in c/c++ is a rather good introduction. In combination with the IDA-SDK it should be sufficient to enable you to write your own plugins.
If I remember correctly even a debugger plugin is given as an example.
instead of starting from scratch you can use the cross referencing functionality of IDA. Just lookup 6.1 of the above mentioned manual (page 101). This does of course not take advantage of dynamically calculated jumps and calls and you will miss them. But it might be sufficient for you.
ups, i've just mixed up two different things. Take a look at the frame.hpp file. There you will find information about how to analyse the current stack frame. And yes, I think you have to analyse the stack manually.