Tramb
May 13th, 2004, 16:55
Hello everybody,
I am a newbie at reverse engineering (because I want to RE a good old game, Cruise for a Corpse, to reimplement it portably, for those who care
) but an experimented programmer in C++ and assembly (not much x86 though) (and some interesting academic languages
)
I noticed in IDA that when I press Y on a function, I can specify parameters for _cdecl functions and then IDA would infer some information about parameters and comment the "push" with parameters name at caller's location. Which is good
But there are some functions in the .EXE that take their parameters as AX, BX or even different non standard conventions. Is there a way I can tell IDA how to map registers and input parameters so that I have comments at caller's site just like
mov bx, -1 ; fileHandle
?
That would save me a bit of typing
Thanks in advance and sorry for any English mistake!
Bertrand
I am a newbie at reverse engineering (because I want to RE a good old game, Cruise for a Corpse, to reimplement it portably, for those who care


I noticed in IDA that when I press Y on a function, I can specify parameters for _cdecl functions and then IDA would infer some information about parameters and comment the "push" with parameters name at caller's location. Which is good

But there are some functions in the .EXE that take their parameters as AX, BX or even different non standard conventions. Is there a way I can tell IDA how to map registers and input parameters so that I have comments at caller's site just like
mov bx, -1 ; fileHandle
?
That would save me a bit of typing

Thanks in advance and sorry for any English mistake!
Bertrand