syscall.sh / x86 / execve

execve

execute program

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

Registers

registervalue
eax11, the syscall number
ebxconst char *filename
ecxconst char *const *argv
edxconst char *const *envp
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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