[feat] new way
This commit is contained in:
@@ -152,7 +152,7 @@ fn inject3(
|
|||||||
|
|
||||||
asm.mov(rax, 9u64)?; // Syscall 9 (mmap)
|
asm.mov(rax, 9u64)?; // Syscall 9 (mmap)
|
||||||
|
|
||||||
asm.mov(rdi, 1u64)?; // Addr
|
asm.mov(rdi, 0u64)?; // Addr
|
||||||
asm.mov(rsi, 4096u64)?; // Length, we alloc a page (4K)
|
asm.mov(rsi, 4096u64)?; // Length, we alloc a page (4K)
|
||||||
asm.mov(
|
asm.mov(
|
||||||
rdx,
|
rdx,
|
||||||
|
|||||||
Reference in New Issue
Block a user