pub enum PcodeError {
Parse(String),
UnsupportedOpcode(String),
BadVarnode(String),
Arity(String),
}Expand description
Reasons the P-code lifter declines (caller falls back to ESIL).
Variants§
Parse(String)
The pdgsd text could not be structurally parsed.
UnsupportedOpcode(String)
An opcode outside the modelled sound subset.
BadVarnode(String)
A varnode shape the lifter does not model (e.g. nested ram).
Arity(String)
An op had the wrong operand arity for its opcode.
Trait Implementations§
Source§impl Clone for PcodeError
impl Clone for PcodeError
Source§fn clone(&self) -> PcodeError
fn clone(&self) -> PcodeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PcodeError
impl Debug for PcodeError
impl Eq for PcodeError
Source§impl From<ParseError> for PcodeError
impl From<ParseError> for PcodeError
Source§fn from(e: ParseError) -> Self
fn from(e: ParseError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PcodeError
impl PartialEq for PcodeError
impl StructuralPartialEq for PcodeError
Auto Trait Implementations§
impl Freeze for PcodeError
impl RefUnwindSafe for PcodeError
impl Send for PcodeError
impl Sync for PcodeError
impl Unpin for PcodeError
impl UnsafeUnpin for PcodeError
impl UnwindSafe for PcodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more