Documentation ¶
Overview ¶
Package loader implements an ELF loader for the Sealevel virtual machine.
Based on https://docs.rs/solana_rbpf/latest/solana_rbpf/elf_parser/index.html
Index ¶
Constants ¶
View Source
const DT_NUM = 35
DT_NUM is the number of ELF generic dynamic entry types
View Source
const EF_SBF_V2 = 0x20
EF_SBF_V2 is the SBFv2 ELF flag
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
Loader is based on solana_rbpf::elf_parser
func NewLoaderFromBytes ¶
NewLoaderFromBytes creates an ELF loader from a byte slice.
Click to show internal directories.
Click to hide internal directories.