syscall.sh / microblaze / fstat

fstat

get file status

sys_newfstat(unsigned int fd, struct stat *statbuf)
number108 (0x6c)
abicommon
entry pointsys_newfstat
sinceLinux 5.0
man pagefstat(2)
sourceelixir.bootlin.com

Registers

registervalue
r12108, the syscall number
r5unsigned int fd
r6struct stat *statbuf
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/fstat