InsColor
Dennis Elser (dennis) <dennisbacktracede> Thursday, March 29 2007 13:40.44 CDT


When quickly looking through a disassembly, one is interested in calls to subfunctions in the first place. In order to visually emphasize call instructions, I've written a little plugin for IDA Pro to color call and branch instructions dynamically. Colors can be customized by the user to his likings. The plugin works independet on the processor architecture.

The plugin can be found in my repository and must simply be placed into your plugins folder (after you've compiled it) ;-)

Credits go to Ilfak since I've adopted most of his "Olden" plugin code (http://hexblog.com/2007/03/dynamic_coloring.html).


Comments
RolfRolles Posted: Thursday, March 29 2007 13:59.51 CDT
A similar solution is to turn on "options->general->basic block boundaries".  Much the same effect is achieved, except that the branch and call instructions have blank lines after them instead of being colored.

dennis Posted: Thursday, March 29 2007 14:02.33 CDT
Yep, I have additionally turned this on. My intention first was to color the instruction itself (instead of the whole line) but it doesn't seem to be possible with the current IDA SDK.

drew Posted: Thursday, March 29 2007 15:13.21 CDT
Here's a direct link to the file:
https://www.openrce.org/repositories/users/dennis/InsColor.zip

Coloring is the way to go -- it makes my life easier.

dnix Posted: Friday, March 30 2007 05:05.27 CDT
doesnt seem to colour "call eax " etc

dennis Posted: Friday, March 30 2007 05:16.50 CDT
thanks, will look into it this weekend

edit: just tested it, works for me..

bmazic Posted: Thursday, April 5 2007 02:16.59 CDT
Any chance of providing a binary for IDA Pro 5.0?

dennis Posted: Thursday, April 5 2007 07:15.02 CDT
no, it works on 5.1 and above only (as far as I know). the reason is that IDA 5.1 introduced a specific callback which is used by this plugin.