[][src]Enum solana_rbpf::elf::ELFError

pub enum ELFError {
    FailedToParse(Error),
    EntrypointOutOfBounds,
    InvalidEntrypoint,
    FailedToGetSection(String),
    UnresolvedSymbol(Stringusizeusize),
    SectionNotFound(String),
    RelativeJumpOutOfBounds(usize),
    RelocationHashCollision(usize),
    WrongEndianess,
    WrongABI,
    WrongMachine,
    WrongClass,
    MultipleTextSections,
    BSSNotSupported,
    AddressOutsideLoadableSection(u64),
    InvalidVirtualAddress(u64),
    UnknownRelocation(u32),
    FailedToReadRelocationInfo,
}

Error definitions

Variants

FailedToParse(Error)

Failed to parse ELF file

EntrypointOutOfBounds

Entrypoint out of bounds

InvalidEntrypoint

Invaid entrypoint

FailedToGetSection(String)

Failed to get section

UnresolvedSymbol(Stringusizeusize)

Unresolved symbol

SectionNotFound(String)

Section no found

RelativeJumpOutOfBounds(usize)

Relative jump out of bounds

RelocationHashCollision(usize)

Relocation hash collision

WrongEndianess

Incompatible ELF: wrong endianess

WrongABI

Incompatible ELF: wrong ABI

WrongMachine

Incompatible ELF: wrong mchine

WrongClass

Incompatible ELF: wrong class

MultipleTextSections

Multiple text sections

BSSNotSupported

.bss section mot supported

AddressOutsideLoadableSection(u64)

Relocation failed, no loadable section contains virtual address

InvalidVirtualAddress(u64)

Relocation failed, invalid referenced virtual address

UnknownRelocation(u32)

Relocation failed, unknown type

FailedToReadRelocationInfo

Failed to read relocation info

Trait Implementations

impl Debug for ELFError[src]

impl Display for ELFError[src]

impl Error for ELFError[src]

impl<E: UserDefinedError> From<ELFError> for EbpfError<E>[src]

Auto Trait Implementations

impl !RefUnwindSafe for ELFError

impl Send for ELFError

impl Sync for ELFError

impl Unpin for ELFError

impl !UnwindSafe for ELFError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.