[USER] Init libc with arguments and environment
MESS - execve - Clean up and move earlier
This commit is contained in:
@@ -13,10 +13,12 @@
|
||||
|
||||
call _init
|
||||
|
||||
pop rdi
|
||||
pop rsi
|
||||
pop rdx
|
||||
movabs rax, offset main
|
||||
mov rdi, rax
|
||||
|
||||
call main
|
||||
call __libc_start_main
|
||||
|
||||
call _fini
|
||||
|
||||
|
||||
Reference in New Issue
Block a user