syscall.sh / sh / stat64

stat64

get file status

sys_stat64(const char *filename, struct stat64 *statbuf)
number195 (0xc3)
abicommon
entry pointsys_stat64
sinceLinux 5.0
man pagestat64(2)
sourceelixir.bootlin.com

Registers

registervalue
r3195, the syscall number
r4const char *filename
r5struct stat64 *statbuf
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/stat64