mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-07-12 23:59:22 +00:00
Push envc & envp
This commit is contained in:
@ -8,6 +8,8 @@ _start:
|
|||||||
pushq %rbp
|
pushq %rbp
|
||||||
movq %rsp, %rbp
|
movq %rsp, %rbp
|
||||||
|
|
||||||
|
pushq %rcx
|
||||||
|
pushq %rdx
|
||||||
pushq %rsi
|
pushq %rsi
|
||||||
pushq %rdi
|
pushq %rdi
|
||||||
|
|
||||||
@ -15,6 +17,8 @@ _start:
|
|||||||
|
|
||||||
popq %rdi
|
popq %rdi
|
||||||
popq %rsi
|
popq %rsi
|
||||||
|
popq %rdx
|
||||||
|
popq %rcx
|
||||||
|
|
||||||
call main
|
call main
|
||||||
movl %eax, %edi
|
movl %eax, %edi
|
||||||
|
Reference in New Issue
Block a user