I'm yet new to IDC...
Does anybody can suggest how to write script to transform code like this:
push 0Ah
push 0
push eax
call strtol
add esp, 0Ch
to this:
strtol (eax, 0, 0Ah);
I assume that parameters count may be sometimes determined from the terminating "add esp, xxx", and each parameter can be taken from higher push commands. How to develope script for doing this?







