IDA Disassembly and Graph Coloring
Pedram Amini (pedram) <pedramaminigmailcom> Friday, December 2 2005 01:13.41 CST


I recently updated my IDA WinGraph wrapper plug-in (pGRAPH) to automatically highlight the currently selected node in the IDA disassembly view (the node under ScreenEA()). Expanding on that, I just finished adding the logic to pGRAPH to extract and display per node custom colors:



Basic blocks are colored in the pGRAPH by the color of the first instruction in that block. To easily view basic blocks in the IDA disassembly view, enable "Options -> General -> Diassembly -> Basic block boundaries". To facilitate the ease of assigning colors to individual instructions / blocks I also created a small IDC script that binds hotkeys to routines that will ask for and apply desired colors. I'll make this script available as soon as I figure out how to force a screen refresh in IDA from IDC.

Comments
Posted: Wednesday, December 31 1969 18:00.00 CST