mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-05-28 15:34:26 +00:00
Push envc & envp
This commit is contained in:
parent
70eb5a4625
commit
bf3275df0d
@ -8,6 +8,8 @@ _start:
|
||||
pushq %rbp
|
||||
movq %rsp, %rbp
|
||||
|
||||
pushq %rcx
|
||||
pushq %rdx
|
||||
pushq %rsi
|
||||
pushq %rdi
|
||||
|
||||
@ -15,6 +17,8 @@ _start:
|
||||
|
||||
popq %rdi
|
||||
popq %rsi
|
||||
popq %rdx
|
||||
popq %rcx
|
||||
|
||||
call main
|
||||
movl %eax, %edi
|
||||
|
Loading…
x
Reference in New Issue
Block a user