AMD64 Linux Syscall Table
Contents
Compiled from Linux 7.0.14 headers
Calling Convention
| Syscall NR | return | arg0 | arg1 | arg2 | arg3 | arg4 | arg5 |
|---|---|---|---|---|---|---|---|
rax |
rax |
rdi |
rsi |
rdx |
r10 |
r8 |
r9 |
Most Used Table
Table
| Article | NR | syscall name | rax | rdi | rsi | rdx | r10 | r8 | r9 |
|---|---|---|---|---|---|---|---|---|---|
| Link | 0 | read |
0x00 |
unsigned int fd |
char *buf |
size_t count |
- |
- |
- |
| Link | 1 | write |
0x01 |
unsigned int fd |
const char *buf |
size_t count |
- |
- |
- |
| - | 2 | open |
0x02 |
const char *filename |
int flags |
umode_t mode |
- |
- |
- |
| - | 3 | close |
0x03 |
unsigned int fd |
- |
- |
- |
- |
- |
| - | 4 | stat |
0x04 |
const char *filename |
struct __old_kernel_stat *statbuf |
- |
- |
- |
- |
| - | 5 | fstat |
0x05 |
unsigned int fd |
struct __old_kernel_stat *statbuf |
- |
- |
- |
- |