[−][src]Struct solana_rbpf::elf::EBpfElf
Elf loader/relocator
Methods
impl EBpfElf
[src]
impl EBpfElf
pub fn load(elf_bytes: &[u8]) -> Result<EBpfElf, Error> | [src] |
Fully loads an ELF, including validation and relocation
pub fn get_text_bytes(&self) -> Result<&[u8], Error> | [src] |
Get the .text section bytes
pub fn get_rodata(&self) -> Result<Vec<&[u8]>, Error> | [src] |
Get a vector of read-only data sections
pub fn get_entrypoint_instruction_offset(&self) -> Result<usize, Error> | [src] |
Get the entry point offset into the text section
pub fn lookup_bpf_call(&self, hash: u32) -> Option<&usize> | [src] |
Get a symbol's instruction offset
pub fn report_unresolved_symbol(&self, insn_offset: usize) -> Result<(), Error> | [src] |
Report information on a symbol that failed to be resolved
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |