These are gadgets that can be used to store addresses into registers.
- Find a x86 lea
- Find a
push rsp; pop rax; ret- equivalent tomov rax, rsp - Find a
add rax, rsp; ret xchg rax, rsp; ret- swaps rax and rsp - DANGEROUS
These are gadgets that can be used to store addresses into registers.
push rsp; pop rax; ret - equivalent to mov rax, rspadd rax, rsp; retxchg rax, rsp; ret - swaps rax and rsp - DANGEROUS