syscall.sh / sh / pread64

pread64

read from or write to a file descriptor at a given offset

sys_pread(unsigned int fd, char *buf, size_t count, loff_t pos)
number180 (0xb4)
abicommon
entry pointsys_pread
sinceLinux 5.0
man pagepread64(2)
sourceelixir.bootlin.com

Registers

registervalue
r3180, the syscall number
r4unsigned int fd
r5char *buf
r6size_t count
r7loff_t pos
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/pread64