Log in

View Full Version : IDA & argument propagation


tom_324
September 1st, 2002, 20:25
How to propagate argument names to called function in IDA?

C like examlpe:
int f1(int a; int b)
{
f2(a,b);
}

Now, when I rename parameter 'a' into 'vendorcode' how to propagate new name through f2 function and its called functions?

Kernel option2 'propagate stack argument information' and 'reanalyze program' does not help.

Tom

bsod
September 1st, 2002, 21:17
Edit -> Function -> Set function type

tom_324
September 1st, 2002, 21:40
Thanks for the reply.

Yes, that renames stack arguments through function f1 but NOT through function f2. So it helps, but does not propagate arguments to called functions. Any other solution?

Tom