# qmonnet/rbpf

Rust virtual machine and JIT compiler for eBPF programs

Repository: https://github.com/qmonnet/rbpf
Canonical: https://ross.abutalabs.com/products/rbpf
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: jit-compiler, ebpf, ebpf-programs, rust, interpreter, packet-filtering, assembler, bpf
Last push: 2026-06-03T21:44:37+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 35, longevity 100
- inputs: {"age_days": 3524, "days_push": 91, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1125, forks 369 (observed 2026-08-28T04:03:40.970856+00:00)

## What it is
rbpf is a Rust crate providing a user-space virtual machine for executing eBPF programs. It includes an interpreter, an x86_64 JIT compiler, and a disassembler for eBPF bytecode.

## Use cases
- run eBPF programs in user-space applications
- embed an eBPF interpreter in a Rust project
- JIT-compile eBPF bytecode for faster execution on x86_64
- disassemble eBPF programs for inspection and debugging
- test eBPF program logic without loading it into the kernel
- build packet filtering tools based on BPF

## When to choose
- you need to execute eBPF programs outside the Linux kernel
- you want a pure-Rust, cross-platform eBPF VM for Linux, macOS, or Windows
- you are building tooling that emulates or analyzes eBPF bytecode

## When to avoid
- you need to run eBPF programs in the Linux kernel with kernel helpers and maps
- you require JIT compilation on Windows, which is not supported
- you need a production-grade verifier comparable to the kernel's

## Facets
- artifact type: library
- maturity: active
- function: interpreter, compiler, simulation
- domain: networking, developer-tools, security
- platform: windows, rust
- tags: ebpf, jit-compiler, virtual-machine, packet-filtering, disassembler, user-space, virtualization, linux, macos

## Member repositories
- qmonnet/rbpf (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.970856+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:39:34.973238+00:00, confidence not recorded.
  - readme: https://github.com/qmonnet/rbpf (fetched 2026-08-28T04:03:40.970856+00:00, sha d3e4e1c95763)
  - registry_crates: https://crates.io/api/v1/crates/rbpf (fetched 2026-08-29T12:43:53.470119+00:00, sha 55dc9d4695b7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
