mirror of
https://github.com/ish-app/ish.git
synced 2026-02-01 14:32:26 +00:00
Implement store_mem32 gadget
This commit is contained in:
parent
a2002aea55
commit
3d5ce06f49
@ -5,10 +5,15 @@
|
||||
movl %\reg, %_tmp
|
||||
.endm
|
||||
.reg_gadgets load
|
||||
|
||||
.gadget load_mem32
|
||||
read_prep
|
||||
movl (%_addrq), %_tmp
|
||||
gret
|
||||
.gadget store_mem32
|
||||
write_prep
|
||||
movl %_tmp, (%_addrq)
|
||||
gret
|
||||
|
||||
.gadget load_addr
|
||||
movl %_addr, %_tmp
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user