ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

eBPF-Calling-Convention

T1 ebpf abi abi
eBPF Register & Helper Calling Convention (RFC 9669)
SourceCross-ISA Calling Conventions & Procedure Call Standards (psABI / AAPCS) (open_abi_specs)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeIETF RFC 9669
SysV AMD64, Win64, AAPCS64 Linux, Darwin ARM64, RISC-V LP64D, LoongArch LP64D, ARM32 EABI, eBPF RFC 9669, Wasm C ABI
License & VersionCC-BY-4.0 / Open Standards
2026.11
Upstreamhttps://isaref.com/
ExtensionseBPF, base64, Linux-BPF

Summary

eBPF virtual ISA ABI: 11 64-bit registers (R0 return, R1–R5 helper/subprog args, R6–R9 callee-saved, R10 read-only 512-byte stack frame pointer).

Syntax / Encoding

Args: R1..R5 | Ret: R0 | Callee-saved: R6..R9 | Read-only FP: R10 (512B stack)

Bitfields (4)

BitsFieldDescription
64-bitR0Also scratch register between calls.
5×64-bitR1_R5Up to 5 arguments to BPF helper/kfunc/subprog calls; clobbered on CALL.
4×64-bitR6_R9Preserved across helper and BPF-to-BPF calls.
64-bitR10Verifier rejects writes to R10; stack offsets must be negative within [-512, -1].