sgdt
January 31st, 2004, 02:50
Quote:
[Originally Posted by Cumulous]I have a very Newbie question...
When you dissassemble a program in IDA Pro, and you find a code line of interest... How do you translate that address so that when the App is running, and you're in SoftICE - you can find and/or break on that line?
Thanks to all who would have the patience to answer!  |
If the issue is constant relocation, and you have MSVC, you can rebase the image with the rebase program. Not that I recomend this, as it alters the image, but it sure beats always having to do math...
However, I think the issue is a little more SoftIce Centric...
You can, on small applications, use ida2sice3i.rar to load everything into SoftIce directly from IDA. A hint when using this is to "hide" stuff you don't and won't need with the '-' on the num key pad. It speeds things up and shrinks the size of the of the symbol table (too big and it can crash even if you configure SoftIce for obscenely large symbol room).
Alternatively, you can generate a map from IDA, and use one of the "MAP to SoftIce" utilities. You don't get the IDA disasm, variables, and comments, but at least the function names are there.
Then, you'll be able to break by symbol name, instead of always having to remember the module name and address's and context.