syscall.sh / x86 / fadvise64

fadvise64

predeclare an access pattern for file data

sys_ia32_fadvise64(int fd, loff_t offset, size_t len, int advice)
number250 (0xfa)
abii386
entry pointsys_ia32_fadvise64
sinceLinux 3.3
man pagefadvise64(2)
sourceelixir.bootlin.com

Registers

registervalue
eax250, the syscall number
ebxint fd
ecxloff_t offset
edxsize_t len
esiint advice
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/fadvise64