Enum solana_rbpf::elf::ElfError[][src]

pub enum ElfError {
    FailedToParse(String),
    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,
    WrongType,
    UnknownSymbol(usize),
    OutOfBounds,
}

Error definitions

Variants

FailedToParse(String)

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

Read-write data not 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

WrongType

Incompatible ELF: wrong type

UnknownSymbol(usize)

Unknown symbol

OutOfBounds

Offset or value is out of bounds

Trait Implementations

impl Debug for ElfError[src]

impl Display for ElfError[src]

impl Eq for ElfError[src]

impl Error for ElfError[src]

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

impl From<Error> for ElfError[src]

impl PartialEq<ElfError> for ElfError[src]

impl StructuralEq for ElfError[src]

impl StructuralPartialEq for ElfError[src]

Auto Trait Implementations

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,