syscall.sh / x32 / mmap

mmap

map or unmap files or devices into memory

sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long off)
number1073741833 (0x40000009)
abicommon
entry pointsys_mmap
sinceLinux 3.4
man pagemmap(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741833, the syscall number
rdiunsigned long addr
rsiunsigned long len
rdxunsigned long prot
r10unsigned long flags
r8unsigned long fd
r9unsigned long off
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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