Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Platform Support

Currently tracexec only supports Linux operating system. Because the core of tracexec is implemented via ptrace, seccomp-bpf and eBPF, it is difficult to port to Windows, MacOS or other operating systems. (Well, technically speaking, ptrace itself is enough for initializing a port to other operating systems, but ptrace without seccomp-bpf is painfully slow.)

Architecture Support Status

Currently we support the following three architectures. You are welcome to submit PR for supporting more architectures.

ArchitectureOperating Systemptrace backendptrace backend
w/ seccomp-bpf
eBPF backend
x86_64Linux
aarch64Linux
riscv64*Linux

*: for riscv64, some kernel versions has bugs in the ptrace implementation that would cause tracexec to display some information as errors. See this strace issue and the kernel mailing list discussion for more details if you got errors when using tracexec on riscv64.

Linux Kernel Support Status

Kernel Versionptrace backendeBPF backendComments
< 5.3❌ (Need PTRACE_GET_SYSCALL_INFO)Seriously, upgrade your kernel!!!
>= 5.3,< 5.17❌ (Need bpf_loop)
>=5.17
>= 6.2
(LTS) >=6.6.64, <6.6.70❌ fail due to kernel regressionKernel regression caught by our CI