SetColor useage on idaPython

来源:互联网 发布:qq for linux 编辑:程序博客网 时间:2024/05/22 04:14
#---------------------------------------------------------------------# Colour test## This script demonstrates the usage of background colours.## Author: Gergely Erdelyi <gergely.erdelyi@d-dome.net>#---------------------------------------------------------------------# Set the colour of the current segment to BLUESetColor(here(), CIC_SEGM, 0xc02020)# Set the colour of the current function to GREENSetColor(here(), CIC_FUNC, 0x208020)# Set the colour of the current item to REDSetColor(here(), CIC_ITEM, 0x2020c0)# Print the colours just setprint "%x" % GetColor(here(), CIC_SEGM)print "%x" % GetColor(here(), CIC_FUNC)print "%x" % GetColor(here(), CIC_ITEM)





原创粉丝点击