[USER] Init libc with arguments and environment

MESS - execve - Clean up and move earlier
This commit is contained in:
2017-02-13 10:24:01 +01:00
parent 8d1e693884
commit 1693baaf6b
9 changed files with 102 additions and 17 deletions

View File

@@ -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