问题描述
正如标题所说,我尝试使用 python3 制作一个在 IDA 7.5 中使用的名为 rizzo 的插件。但是当我尝试运行这个插件时,IDA 会出现这样的错误:
for n in range(0,len(idaapi.cmd.Operands)):
AttributeError: module 'idaapi' has no attribute 'cmd'
enter image description here
我想知道如何解决这个错误,谢谢
解决方法
用idaapi.cmd.Operands
替换idaapi.insn_t().ops