Enum solana_bpf_loader_program::bpf_verifier::VerifierError [−][src]
pub enum VerifierError {
Show 16 variants
ProgramLengthNotMultiple,
ProgramTooLarge(usize),
NoProgram,
DivisionByZero(usize),
UnsupportedLEBEArgument(usize),
LDDWCannotBeLast,
IncompleteLDDW(usize),
InfiniteLoop(usize),
JumpOutOfCode(usize, usize),
JumpToMiddleOfLDDW(usize, usize),
InvalidSourceRegister(usize),
CannotWriteR10(usize),
InvalidDestinationRegister(usize),
UnknownOpCode(u8, usize),
ShiftWithOverflow(usize),
InvalidRegister(usize),
}Expand description
Error definitions
Variants
ProgramLengthNotMultiple
ProgramLengthNotMultiple
ProgramTooLarge(usize)
Tuple Fields
0: usizeProgramTooLarge
NoProgram
NoProgram
DivisionByZero(usize)
Tuple Fields
0: usizeUnsupportedLEBEArgument(usize)
Tuple Fields
0: usizeUnsupportedLEBEArgument
LDDWCannotBeLast
LDDWCannotBeLast
IncompleteLDDW(usize)
Tuple Fields
0: usizeIncompleteLDDW
InfiniteLoop(usize)
Tuple Fields
0: usizeInfiniteLoop
JumpOutOfCode(usize, usize)
JumpOutOfCode
JumpToMiddleOfLDDW(usize, usize)
JumpToMiddleOfLDDW
InvalidSourceRegister(usize)
Tuple Fields
0: usizeInvalidSourceRegister
CannotWriteR10(usize)
Tuple Fields
0: usizeCannotWriteR10
InvalidDestinationRegister(usize)
Tuple Fields
0: usizeInvalidDestinationRegister
UnknownOpCode(u8, usize)
UnknownOpCode
ShiftWithOverflow(usize)
Tuple Fields
0: usizeShift with overflow
InvalidRegister(usize)
Tuple Fields
0: usizeInvalid register specified
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for VerifierError
impl Send for VerifierError
impl Sync for VerifierError
impl Unpin for VerifierError
impl UnwindSafe for VerifierError
Blanket Implementations
pub default fn example() -> T
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
