I'm trying to change an instruction in an executable that's loaded in IDA Pro v6.1
For example:
lis r11, ((qword_90E1B2D8+0x10000)@h)
to
lis r10, unk_90E163D0@h
Any help is appreciated, thank you very much.
I'm trying to change an instruction in an executable that's loaded in IDA Pro v6.1
For example:
lis r11, ((qword_90E1B2D8+0x10000)@h)
to
lis r10, unk_90E163D0@h
Any help is appreciated, thank you very much.
If you goal is to push the changes back to the original binary, then for IDA 6.1, your best bet is to use a combination of the Edit/Patch Program menu and the editing capabilities of the Hex View window to make the changes that you want. If you are looking at PPC code, unfortunately the PPC processor module does not support the Assemble... command on the Patch Program menu. Once you have made the changes that you want, use the File/Produce file/Create DIF file menu item to save an IDA style dif file. There is a utility here: http://idabook.com/examples/chapter_14/ida_patcher.c that may be used to apply your dif against the original binary to patch it.
lis r11, ((qword_90E1B2D8+0x10000)@h) to lis r11, unk_90E163D0@h
– user4128 Mar 11 '14 at 21:57
Edit-Patchmenu works in your architecture, you can just use itsAssemblecommand to write the instruction you want, see the bytes it produces (Options-General-Show opcode bytes), and then hex-edit them into the executable. – DCoder Mar 11 '14 at 05:25