syscall.sh / x32 / execve
execve
execute program
compat_sys_execve(const char *filename, const char *const *argv, const char *const *envp)
| number | 1073742344 (0x40000208) |
|---|---|
| abi | x32 |
| entry point | compat_sys_execve |
| since | Linux 3.4 |
| man page | execve(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742344, the syscall number |
rdi | const char *filename |
rsi | const char *const *argv |
rdx | const char *const *envp |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 59
- x86 11
- arm64 221
- arm 11
- riscv64 221
- loongarch64 221
- ppc64 11
- ppc 11
- s390x 11
- mips64 5057
- mipsn32 6057
- mipso32 4011
- alpha 59
- arc 221
- csky 221
- hexagon 221
- m68k 11
- microblaze 11
- nios2 221
- openrisc 221
- parisc 11
- sh 11
- sparc 59
- sparc64 59
- xtensa 117
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/execve