I found x86 lea
instructions in an executable file made using clang and gcc.
The lea
instructions are after the ret
instruction as shown below.
0x???????? <func>
...
pop %ebx
pop %ebp
ret
lea 0x0(%esi,%eiz,1),%esi
lea 0x0(%edi,%eiz,1),%edi
0x???????? <next_func>
...
What are these lea
instructions used for? There is no jmp
instruction to the lea
instructions.
My environment is Ubuntu 12.04 32-bit and gcc 4.6.3.