RunTrace.py 文件源码

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

项目:IDAPython-Scripts 作者: razygon 项目源码 文件源码
def PreIdx(self): # ,
        DEBUG_PRINT('IN PreIdx')
        ea = idc.ScreenEA()
#        print 'Cursor is at 0x%x'%(ea)
        if ea not in self._dbDict.keys():
            print '\n0x%x has no comments'%(ea)
            return
        if ea != self._choose_ea:
            self._choose_ea = ea
            self._choose_idx = self.GetIDX(ea)
            if self._choose_idx == -1:
                print 'no comment'
                return
            self._choose_id = self.GetID(ea,self._choose_idx)

        if self._choose_id == 0:
            print 'Already FIRST Index'
            return
        self._choose_id -= 1
        id = self._choose_id;
        if id >= 0:
            self.ForwardView(ea, id,innermode = 1)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号