def _declareMemberVars(self):
self._dbDict = {}
self.insCount = 0
self._tables = []
self._tablelist = [] # the functions have comments [addr,name,show]
self.BACKWORD = 1 # Default show forward
self._choose_id = -1
self._choose_idx = -1
self._choose_ea = 0
self.tbls = []
self._global = 1
self.lastnode_ea = 0
self.lastnode_color = 0x0
self.colorsnapshot = {}
self.colorsnapshot_startEA = 0
self.CIC_ID = idc.CIC_ITEM #default
self.max_ea = 0
self.max_idx = 0
self.min_ea = 0
self.min_idx = 0
self.IDA_LF_COLOR_ORIGIN = idapython.GetTrueBackgroundColorHexRGB()
if (idapython.IsBackgroundDark()): #You an change the color you like here.
self.IDA_LF_COLOR_TAG = 0x1E5374
self.IDA_LF_COLOR_LOOP1 = 0x66FF66
self.IDA_LF_COLOR_LOOP2 = 0xFFCC66
self.IDA_LF_COLOR_LOOP3 = 0xCCCCFF
else:
self.IDA_LF_COLOR_TAG = 0x80ECFF
self.IDA_LF_COLOR_LOOP1 = 0x66FF66
self.IDA_LF_COLOR_LOOP2 = 0xFFCC66
self.IDA_LF_COLOR_LOOP3 = 0xCCCCFF
评论列表
文章目录