Latest available version: IDA and decompilers v8.4.240320sp1 see all releases
Hex-Rays logo State-of-the-art binary code analysis tools
email icon
get item color
     ea - address of the item
     what - type of the item (one of COLWHAT... constants)
returns: color code in RGB (hex 0xBBGGRR)

long get_color(long ea, long what);

// color item codes: #define CIC_ITEM 1 // one instruction or data #define CIC_FUNC 2 // function #define CIC_SEGM 3 // segment

#define DEFCOLOR 0xFFFFFFFF // Default color

Index | Next topic