NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #4963 most downloaded on crates.io
Virtual machine and JIT compiler for eBPF programs
Latest stable
0.8.5
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 7 months
Nearly every release is documented
notes for 56 of the last 60 stable releases
5 versions withdrawn
withdrawn after publishing
8 years old
89 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Adjust rust toolchain version.
Adjust rust toolchain version.
Adjust rust toolchain version.
Adjust rust toolchain version.
Adjust rust toolchain version.
Adjust rust toolchain version.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
#579 : Adds documentation for the VMs bytecode #551 : Cleanup - old Goblin ELF parser #576 : Add shuttle testing infrastructure
#574 : Tests - Increases Config::max_call_depth default from 20 to 64 #573 : Fix - mislabelled mul64_imm and mul64_reg #572 : Fix - Accept blank space
#545 : Refactor - Adds generic type parameter to declare_builtin_function!() #543 : Feature - EbpfVm::invoke_function() #542 : Minor Fixes #541 : Clea
declare_builtin_function!()EbpfVm::invoke_function()ELF_INSN_DUMP_OFFSETBuiltinFunctionsdeclare_builtin_functionSBPFVersion, FunctionRegistry, BuiltinFunction and BuiltinProgram into a new file#523 : Fix - make sure RSP is 16 byte aligned when we call into rust code #514 : Fix - correctly load the StableResult discriminant in emit_result_is_
StableResult discriminant in emit_result_is_errBPF_MUL result sign extensiontest_code_length_estimate()#511 : Fix - Disables the AArch64 target #510 : Fix - compilation errors in aarch64.rs
#508 : Fix - mmap fd should be -1 when creating anonymous mappings #507 : Fix - BuiltinProgram::fmt() #506 : Tests - For BuiltinProgram::eq() #505 : F
mmap fd should be -1 when creating anonymous mappingsBuiltinProgram::fmt()BuiltinProgram::eq()std::alloc::alloc() failsEq for BuiltinProgramVerifier from Executableemit_product_quotient_remainder() in JITlduw to hor64runtime_environment_key out of Config into a static variablecallx encodingsub reg, imm and removes negsub r11, imm with add r11, -immmut in MemoryRegion constructorslduw (load upper word immediate)FunctionRegistryfixup_relative_calls()sbpf_version.enable_elf_vaddr() and config.optimize_rodata=false#516 : Backport #505 and #513 to v0.6 #515 : jit: make sure RSP is 16 byte aligned when we call into rust code
- #475: Refactor - Move Executable out of EbpfVm - #473: Refactor - Moves config flags into executable capabilities - #474: Fix - enable_address_trans
- #470: Limit - Reduce SYMBOL_NAME_LENGTH_MAXIMUM to 64 - #469: Refactor - Remove UTF-8 from ELF paser - #468: Fix - New ELF parser first section head
- #462 Remove unreachable BssNotSupported error - #463 Minor adjustment from cargo clippy - #461 elf: cap the number of allowed program headers - #460
BssNotSupported errorMemoryMapping::IdentityVerifiedExecutableBuiltInProgram::register_function()- #455: Cleanup - Error message wording "at BPF instruction" - #454: Verifier - Stricter control flow - #453: Fix - Checkes enable_instruction_meter c
enable_instruction_meter consistently at the calleeexitEbpfError::UserError, use Box<dyn std::error::Error> instead- #448: Cleanup - Preparation for refactoring of Errors - #447: Refactor - Remove emit_profile_instruction_count_finalize() - #446: Cleanup - Adds tes
emit_profile_instruction_count_finalize()test_utils::assert_error!()MemoryRegion: add tests and fix unaligned mapping bugexpected_result parameterMemoryRegion- #441: Fix - Allow SBF machine in new ELF parser only - #440: Fix - Makes functions starting in the middle of lddw fail verification in SBFv2 - #439:
* #429: Fix - Monorepo build * #428: Refactor - Pass Config in BuiltInProgram::new_loader() * #427: Recompiled all ELFs with SBFv2 * #426: Refactor -
Config in BuiltInProgram::new_loader()BuiltInProgramsSyscallRegistry to BuiltInProgramdisassemble_instruction() in order to get rid of genericSyscallRegistry in std::sync::ArcRuntimeEnvironment::frame_pointerProgramResultAccessViolation pcJitCompiler and JitProgramRuntimeEnvironment#410: Fixes errno on target_os = "android"
#410: Fixes errno on target_os = "android"
* #407: Refactor - Moves some members of EbpfVm into Interpreter * #406: Refactor - Merge execute_program() * #405: Refactor - Return instruction coun
EbpfVm into Interpreterexecute_program()Tracer into ContextObject'static lifetime constraintsR10 in JITContextObject type in syscallsContextObjectcallx to registered functionsFunctionRegistry- #392 Recognize new SBF machine code in ELF header
* #391: Fix - interface of bencher in nightly test crate * #389: Refactor AlignedMemory * #388: Refactor - Move EbpfVm::bind_syscall_context_object()
AlignedMemoryEbpfVm::bind_syscall_context_object() to EbpfVm::new()StableResultsyscalls::Result by vm::ProgramResultUserError from EbpfError* #363: Resolve unaligned memory regions * #381: Fix - Lookup BPF function only if its not a syscall * #379: AlignedMemory add write_*_unchecked varia
- #362: Refactor the way memory mapping, syscalls and instruction tracer are passed to programs - #372: Remove unused ElfParser::symbol() method - #36
ElfParser::symbol() methodEbpfError enum discriminant size explicitAlignedMemory::resize()AlignedMemory: use calloc to get zeroed memoryAlignedMemory tweaksVM creation requires a verified executable
Safer API:
- #339: Fix: *const u8 ptr in JitProgramSections - #337: Refactor: Remove Result from all emit functions - #336: Cleanup: Shifts down anchor indices -
*const u8 ptr in JitProgramSectionsResult from all emit functionsX86InstructionX86Instruction publicly unconstructableX86Instruction::emit()sdiv anchor in JIT- #320: Fix - ELF arithmetic overflow with invalid program headers - #317: Fix - typo in EbpfError::SyscallAlreadyRegistered - #319: Fix - ELF loading
EbpfError::SyscallAlreadyRegisteredhighest_addrMemoryRegion replaceable- #311: Force static_syscalls=false for non-SBFv2 files - #310: JIT: sign-extend the quotient register on sdiv32 - #301: ELF: add support for rodata s
static_syscalls=false for non-SBFv2 filessdiv32MM_PROGRAM_STARThash parameter from bind_syscall_context_objects()Config::dynamic_stack_frames=true by default* #305: Revert "Simplify syscall register and bind (#293)" * #303: Remove syscalls BpfRand and BpfSqrtI * #302: Pass custom MemoryRegions to VM constr
BpfRand and BpfSqrtIMemoryRegions to VM constructorcode_length_estimatebind_syscall_context_objects in the CLI toolStaticAnalysis constructor return a Result type* #293 Simplify syscall register and bind * #284 elf: avoid copying read-only sections * #292 Benchmarks for stack address translation and for call de
### Fixes: - #281 Fix: Stack gap end check - #280 Reject callx r10 - #278 Syscall & BPF function hash collision - #276 Fix: Static analyzer CHK algori
### Fixes: - #271 Fix: LDDW instruction meter in the Interpreter - #272 Fix: Static analysis CFG
### Fixes: - #266 JIT x86 code emitter operand sizes ### Other Changes: - #267 Cleanup: Constants for magic numbers in MemoryRegion - #265 Format call
### Fixes: - #263 Fix: JIT instruction meter in exit instruction - #262 Fix: JIT callx unsupported instruction - #258 Fix: Don't munmap nothing ### Ot
### Fixes: - #249 encrypt_environment_registers
### Fixes: - #247 Unchecked integer arithmetic in memory_region.rs
### Fixes: - #243 Reject all RW sections in ELF - #244 Wrap executable in Pin Box - #245 Emit u64 compare for length
### Fixes - #241 Reject programs with overlapping ELF read-only sections ### Test Builds - #239 CI: remove travis-ci configuration - #238 CI: trigger
### Fixes - #236 Fix: Unchecked integer arithmetic in elf.rs ### Test Builds - #235 CI: Deny clippy::integer_arithmetic
### Fixes - #231 Removes the Executable dyn Trait - #228 Fix: Bytes at end of instruction stream ### Other Changes - #233 Make symbol and section labe
Fix R_BPF_64_64 relocation handling
### Features - #200 R_BPF_64_64 relocations - #197 JIT Stopwatch ### Security - #191 JIT instruction meter checkpoints ### Performance - #196 Improve
### Fixes #184: Use mmap instead of memalign #182: Fix libc error detection ### Security #176: Fix ELF Symbol Parsing Performance #143: Machinecode Di
#184: Use mmap instead of memalign #182: Fix libc error detection
#176: Fix ELF Symbol Parsing Performance #143: Machinecode Diversification in JIT
#183: Migrate from Travis Ci .org to .com
Fixes incorrect target_pc calculation.
Nothing published for this version
Fixed Entrypoint Collision Refactored BPF Function Symbols in Executable Generalized the "entrypoint" to be a BPF function symbol Static Analysis
Fixed Entrypoint Collision Refactored BPF Function Symbols in Executable Generalized the "entrypoint" to be a BPF function symbol Static Analysis
Optimize AlignedMemory performance
to_insn_vec (#152)Enforce the use of host aligned memory for regions mapping into program space
Enforce the use of host aligned memory for regions mapping into program space
Export aligned memory utility that can be used when passing memory into the VM that will be mapped into program space
## Security * #150: Validate Overlapping Memory Regions in ELF Loader ## Fixes * #148: Fix Trace Missing R10 * #147: Fix JIT PC Translation ## Other C
## Features * #145: JIT Machine Code Emitter ## Benchmarks * #146: Address Translation Performance Benchmarks ## Fixes * #144: Fix insn count reportin
## Features * #138: CLI Tool Verifier Option ## Fixes * #140: Fix LDDW Related Bugs * #139: Fix Memory Leak in JIT * #137: Fix Typo * #136: Fix Potent
## Fixes * #135: Remove unwrap in vm::bind_syscall_context_object() * #134: JIT call(x) Exception Handling
## Optimization * #131: Improves Address Translation Speed ## Fixes * #133: Fix Call(x) Error Pc Field * #132: Fix JIT resolve_jumps * #130: Improves
## Features * #126: CLI Tool - Profiling * #125: Test: Fuzzy + Tracer ## Fixes * #124: Fix bugs and edge cases discovered by fuzzy testing * #123: Bum
### Features * #121 : CLI Tool * #115 : Instruction Tracing * #109 : Gapped Address Translation * #107 : JIT compilation cache ### Fixes & Cleanup * #
Nothing published for this version
Fix: https://github.com/solana-labs/rbpf/pull/123
Fix: https://github.com/solana-labs/rbpf/pull/123
Nothing published for this version
Allow the creator of the VM specify the max call depth and the stack frame size
Change the VM API to independently create executables and then accept them for execution later
cargo fmt all files and fix clippy in testsBump version past yanked crates.io version
One column per quarter.