syscall.sh / x86 / stat64

stat64

get file status

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

Registers

registervalue
eax195, the syscall number
ebxconst char *filename
ecxstruct stat64 *statbuf
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/stat64