syscall.sh / csky / ptrace

ptrace

process trace

sys_ptrace(long request, long pid, unsigned long addr, unsigned long data)
number117 (0x75)
abicommon
entry pointsys_ptrace
sinceLinux 4.20
man pageptrace(2)
sourceelixir.bootlin.com

Registers

registervalue
r7117, the syscall number
a0long request
a1long pid
a2unsigned long addr
a3unsigned long data
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/ptrace