0x7ffff ... ff
0x00000 ..00
pop
push
0x7ffff ... ff
0x00000 ..00
Local Variable| RBP| Return Addr | ...
Return gadget
Something to load the "rdi, rsi, rdx" registers.
Ex.: pop rdi; ret;
Note : parameters to function in x64 are (in order) :
- rdi (first parameter)
- rsi (second parameter)
- rdx (third parameter)
Useful function at fix address