syscall.sh / x86 / fstatat64

fstatat64

get file status

sys_fstatat64(int dfd, const char *filename, struct stat64 *statbuf, int flag)
number300 (0x12c)
abii386
entry pointsys_fstatat64
sinceLinux 3.3
man pagefstatat64(2)
sourceelixir.bootlin.com

Registers

registervalue
eax300, the syscall number
ebxint dfd
ecxconst char *filename
edxstruct stat64 *statbuf
esiint flag
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/fstatat64