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

Wrong fixup & encode tabs #47

Open karpiyon opened 6 years ago

karpiyon commented 6 years ago

When i try to patch and hit CTRL+Alt+K i get the patch window but the default fixup & encode tab show a different value than the Original tab. This means that if i want to change a command i need to retype it all. e.g. change jnz loc_12345678 ==> jmp loc_1234567

is this intentional or a bug?

i am using IDA 7 on win10 with keypatch (2.2) 2.1 is not working with IDA 7

capture

aquynh commented 6 years ago

Looks like a bug. Please send pull req if you can fix this.