IDA Python - 查找突出显示的寄存器
逆向工程
蟒蛇
2021-06-19 17:07:19
2个回答
如果以上在较新版本中不起作用,请尝试 ida_kernwin.get_highlight(ida_kernwin.get_current_viewer())
例子:
Python>ida_kernwin.get_highlight(ida_kernwin.get_current_viewer())
('edx', 0x3)
向后兼容层展示了如何解释返回的元组:
def get_highlighted_identifier():
thing = get_highlight(get_current_viewer())
if thing and thing[1]:
return thing[0]
其它你可能感兴趣的问题
