syscall.sh / sh / execve

execve

execute program

sys_execve(const char *filename, const char *const *argv, const char *const *envp)
number11 (0xb)
abicommon
entry pointsys_execve
sinceLinux 5.0
man pageexecve(2)
sourceelixir.bootlin.com

Registers

registervalue
r311, the syscall number
r4const char *filename
r5const char *const *argv
r6const char *const *envp
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/execve