我的装配不是很流畅;我想要实现的目标如下:
00001 INC EAX
00002 MOV EBX, 22
00003 JMP 140 <-- Here I want to jump +140 from the current EIP
...
00143 RETN <-- I want to land here
我在组装x86中了解了短距离,远距离,近距离跳跃,我似乎无法弄清楚如何进行我想要的跳跃,最近的解决方案是短暂的跳跃:
EB8F JMP xx <-- It would work if I'm jumping into a place less than 7F, but my jump is bigger than 127 (7F).
EB8F
是我指令的操作码。
如何从当前EIP跳转140字节前进?