diff options
-rw-r--r-- | eax.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/eax.txt b/eax.txt index 3d0a8e4..57988a6 100644 --- a/eax.txt +++ b/eax.txt @@ -1,3 +1,17 @@ +General way to do syscalls: + +mov eax <syscall number as below> +mov ebx arg +mov ecx arg +mov edx arg +mov esx arg +mov edi arg +int 0x80 + +man 2 <syscall name> for arguments stuff + +--- + restart_syscall 0 exit 1 fork 2 |