Module solana_rbpf::insn_builder
source · Expand description
Module provides API to create eBPF programs by Rust programming language
Structs
- BPF instruction stack in byte representation
- struct representation of EXIT instruction
- struct representation of CALL instruction
- struct representation of JMP instructions
- struct representation of LOAD instructions
- struct to represent
MOV ALU
instructions - struct representation of STORE instructions
- struct representation of byte swap operation
Enums
- Architecture of instructions
- Conditions for JMP instructions
- Bytes endian
- Memory size for LOAD and STORE instructions
- The source of ALU and JMP instructions
Traits
- Represents single eBPF instruction
- General trait for
Instruction
s andBpfCode
. Provides functionality to transformstruct
into collection of bytes