Skip to content

W4ilops/eBPF-VM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eBPF-VM

eBPF virtual machine in Rust. Implements the full ISA — ALU64/ALU32, all JMP variants, LDX/ST/STX across all widths, wide loads, and CALL/EXIT with a depth-limited call stack. Two-level dispatch: class first, then (code, source). No external crates. No unsafe.

Verifier and JIT in progress.

src/ has opcode/insn as newtypes with bitfield accessors, a unified error type, and the interpreter in vm.rs. tests/ covers ALU, control flow, and memory — 43 tests passing.

cargo build
cargo test

Releases

No releases published

Packages

 
 
 

Contributors

Languages