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.47k stars 355 forks source link

Keypatch cannot launch in IDA 7.0 #49

Open pharazone opened 6 years ago

pharazone commented 6 years ago

I use Windows 10 platform. Open the IDA, and load keystone plugin, but it did not work. here is my problem: E:\IDA 7.0\plugins\keypatch.py: invalid syntax (E:/IDA 7.0/plugins/keypatch.py, line 7) Traceback (most recent call last): File "E:\IDA 7.0\python\ida_idaapi.py", line 553, in IDAPython_ExecScript execfile(script, g) File "E:/IDA 7.0/plugins/keypatch.py", line 7 <!DOCTYPE html> ^ SyntaxError: invalid syntax image

I installed the .msi in your website, and copied the keypatch.py to the plugins folder.

How can I fix it?Thank you.

fjh658 commented 6 years ago

Is your keypatch.py file a html format? Please download the raw format of python on github.