keystone
keystone copied to clipboard
Absolute indirect jump
Is it possible to add (or use) absolute indirect jump using a sequence of bytes - FF 25 00 00 00 00 [8 bytes of address]? Example - jmp 0x123456789 encoded as FF 25 00 00 00 00 89 67 45 23 01 00 00 00.
Did you find a way to do this? I still haven't...
Patched the keystone code. Changed the logic when processing instructions JMP и CALL. When |(target - source - 5)| > INT_MAX, i manually add bytes (for jmp FF 25 00 00 00 00 (64bit address), for call FF 15 00 00 00 00 (64bit address)) and interrupt further processing of this instruction, proceeding to the next.