Push envc & envp

This commit is contained in:
Alex 2022-12-10 09:32:32 +02:00
parent 70eb5a4625
commit bf3275df0d
Signed by untrusted user who does not match committer: enderice2
GPG Key ID: EACC3AD603BAB4DD

View File

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