def ClearorShow(self):
ea = idc.ScreenEA()
(startEA,endEA) = self._GetFuncRange(ea)
self.ColorCompare()
self._delComms(startEA,endEA)
cid = [i for i,item in enumerate(self._tablelist) if item[0]==hex(startEA)]
DEBUG_PRINT( 'clear or show')
DEBUG_PRINT( cid)
if cid != []:
DEBUG_PRINT( 'in')
cindex = cid[0]
DEBUG_PRINT( cindex)
DEBUG_PRINT( self._tablelist[cindex])
if self._tablelist[cindex][2] == '0':
self._showComms(startEA,endEA,0)
self._tablelist[cindex][2] = '1'
else:
self._tablelist[cindex][2] = '0'
return
评论列表
文章目录