keystone-engine / keypatch

Multi-architecture assembler for IDA Pro. Powered by Keystone Engine.
http://www.keystone-engine.org/keypatch
GNU General Public License v2.0
1.45k stars 355 forks source link

Error in Ida Pro 7.0 #52

Open ghost opened 5 years ago

ghost commented 5 years ago

D:\IDA 7.0\plugins\keypatch.py: cannot import name arm_const Traceback (most recent call last): File "D:\IDA 7.0\python\ida_idaapi.py", line 553, in IDAPython_ExecScript execfile(script, g) File "D:\IDA 7.0\plugins\keypatch.py", line 23, in from keystone import * File "C:\Python27\lib\site-packages\keystone__init__.py", line 2, in from . import arm_const, arm64_const, mips_const, sparc_const, hexagon_const, systemz_const, ppc_const, x86_const ImportError: cannot import name arm_const

DavidNorena commented 4 years ago

any luck ?

aquynh commented 4 years ago

this is probably because Keystone is not properly setup. you can install newer version of Keystone now, with:

pip install keystone-engine --pre

and hopefully the problem is solved.