I am writing assembly[shellcode] for i386 linux. I wanted to know if there are any man pages or cheats sheets to see which registers need to be set-up for the calls[ read, write, execve] to be made.
Asked
Active
Viewed 68 times
0
-
3Google "Linux system calls 32 bit". – Margaret Bloom Nov 01 '18 at 11:05
1 Answers
3
You can consult syscall
man-page for syscall ABI on different architectures. For a specific syscall, see the man-page of the corresponding C-library wrapper function which usually includes a C library/kernel differences
chapter if necessary. For the list of all syscalls see syscalls
man-page.
For the actual syscall numbers see asm/unistd.h
header.

r3mus n0x
- 5,954
- 1
- 13
- 34