
Description
Writing shellcode, tuning seccomp rules or reading an strace log always ends with looking up which number a syscall has on x64, which on arm64, and which register takes which argument. That usually means a browser tab and a table you hope matches your arch. syscall ships the data inside the binary, so it works offline from your terminal: syscall memfd_create prints the number, hex, instruction, number register, argument registers and return register across 5 common arches at once.
It covers 27 architectures and records which kernel version added or removed each call. Written in Go, MIT licensed, installable with Homebrew or go install, with Linux and macOS archives on the releases page.
One-command lookup: a name or a number works. Common arches by default, --arch all for every one, --arch x64 for full details on one, plus notes on required kernel config such as CONFIG_MEMFD_CREATE.
Interactive explorer: syscall explore opens a TUI. Press / to search, j/k to move and : for a command palette; on wide terminals a side panel shows per-arch numbers, history and related calls.
Filtered search: combine name:open, family:epoll, arg:fd, nargs:3 and fd:true; the explorer and syscall search share the same syntax.
Snippets: snippet generates assembly, C or Go that makes a given call, with assembly for x64, x86, arm64, riscv64 and more.
strace annotation: pipe strace or perf trace output into syscall trace; bare numbers become names, --summary gives totals, and everything else passes through.
Pipe-friendly: -o json for JSON, tables that go straight into less or fzf, bash/zsh/fish completion, and dark, light and mono themes.
It covers 27 architectures and records which kernel version added or removed each call. Written in Go, MIT licensed, installable with Homebrew or go install, with Linux and macOS archives on the releases page.
Features
One-command lookup: a name or a number works. Common arches by default, --arch all for every one, --arch x64 for full details on one, plus notes on required kernel config such as CONFIG_MEMFD_CREATE.
Interactive explorer: syscall explore opens a TUI. Press / to search, j/k to move and : for a command palette; on wide terminals a side panel shows per-arch numbers, history and related calls.
Filtered search: combine name:open, family:epoll, arg:fd, nargs:3 and fd:true; the explorer and syscall search share the same syntax.
Snippets: snippet generates assembly, C or Go that makes a given call, with assembly for x64, x86, arm64, riscv64 and more.
strace annotation: pipe strace or perf trace output into syscall trace; bare numbers become names, --summary gives totals, and everything else passes through.
Pipe-friendly: -o json for JSON, tables that go straight into less or fzf, bash/zsh/fish completion, and dark, light and mono themes.

