syscall.sh / x64 / getitimer

getitimer

get or set value of an interval timer

sys_getitimer(int which, struct __kernel_old_itimerval *value)
number36 (0x24)
abicommon
entry pointsys_getitimer
sinceLinux 3.3
man pagegetitimer(2)
sourceelixir.bootlin.com

Registers

registervalue
rax36, the syscall number
rdiint which
rsistruct __kernel_old_itimerval *value
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/getitimer