def jump_click(self):
global cur_selection, last_off
if cur_selection != (None, None, None, None):
off = self.off_edit.text()
if off == "":
off = "0"
try:
off = long(off, 16)
except:
pass
if isinstance(off, long):
last_off = hex(off).upper()
idc.Jump(cur_selection[1] + off)
self.close()
self.deleteLater()
return
print "wrong format offset:" + off
评论列表
文章目录