Struct solana_rbpf::elf::Executable
source · [−]pub struct Executable<E: UserDefinedError, I: InstructionMeter> { /* private fields */ }
Expand description
Elf loader/relocator
Implementations
Get the configuration settings
Get the concatenated read-only sections (including the text section)
Get the entry point offset into the text section
Get a symbol’s instruction offset
Get the syscall registry
Get the JIT compiled program
JIT compile the executable
Report information on a symbol that failed to be resolved
Get syscalls and BPF functions (if debug symbols are not stripped)
Get syscalls symbols
Create from raw text section bytes (list of instructions)
Fully loads an ELF, including validation and relocation
Fix-ups relative calls
Static constructors for Executable
Creates a verified executable from an ELF file
Trait Implementations
impl<E: PartialEq + UserDefinedError, I: PartialEq + InstructionMeter> PartialEq<Executable<E, I>> for Executable<E, I>
impl<E: PartialEq + UserDefinedError, I: PartialEq + InstructionMeter> PartialEq<Executable<E, I>> for Executable<E, I>
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.