Expand description
Virtual machine for SBPF programs.
Modules§
- aligned_
memory - Aligned memory
- assembler
- This module translates eBPF assembly language to binary.
- disassembler
- Functions in this module are used to handle eBPF programs with a higher level representation, for example to disassemble the code into a human-readable format.
- ebpf
- This module contains all the definitions related to eBPF, and some functions permitting to manipulate eBPF instructions.
- elf
- This module relocates a BPF ELF
- elf_
parser - Dependency-less 64 bit ELF parser
- error
- This module contains error and result types
- insn_
builder - Module provides API to create eBPF programs by Rust programming language
- interpreter
- Interpreter for eBPF programs.
- jit
- Just-in-time compiler (Linux x86, macOS x86)
- memory_
region - This module defines memory regions
- program
- Common interface for built-in and user supplied programs
- static_
analysis - Static Byte Code Analysis
- verifier
- Verifies that the bytecode is valid for the given config.
- vm
- Virtual machine for eBPF programs.
Macros§
- declare_
builtin_ function - Generates an adapter for a BuiltinFunction between the Rust and the VM interface