RunTrace.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:IDAPython-Scripts 作者: razygon 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号