Fravia's TOOLS OF OUR TRADE Messageboard ~ Moderated
Re: IDC Stack Overflow ?
Saturday, 26-Dec-98 06:21:10

Oh yeah I had that :)

I was doing a recursive call trace and found that I got stack overflows with anything more than 7 or 10 levels. I couldn't find a workaround...I just forced a ceiling of 7 levels and called it a script.

The only thing I can suggest is to try to simulate a stack using an IDA array -- maybe building up an array of addresses to trace rather than calling a recursive routine.

It looks like IDA's IDC call-stack is limited -- what is causing the problem is too many return IP's/addresses. So either stay away from recursion or build in a 'ceiling'.

_m

mammon_