Commit cf98fc2e authored by PoroCYon's avatar PoroCYon
Browse files

Merge branch 'master' into 'master'

ESP offset should be 0x08 to get the environment variables

See merge request !2
parents 859c6c11 9b592ff3
......@@ -34,7 +34,7 @@ _parent.0:
xchg eax, edi ;edi is zero now and will be overwritten eventually
mov al, SYS_waitpid
int 0x80
lea esi, [esp+0x10]
lea esi, [esp+0x08]
db 0x3D ; cmp eax, ...
dw 2 ;!e_type
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment