pub enum ExecError {
Show 20 variants
Type(String),
Unimplemented,
AssertionFailed(String),
Overflow,
SymbolicLength(&'static str),
NoSymbolicType,
Unreachable(String),
Unmapped,
BadRead(&'static str),
BadWrite(&'static str),
NoElfEntry,
OutOfBounds(&'static str),
MatchFailure,
Timeout,
Dead,
Exit,
NoModel,
Z3Error(String),
Z3Unknown,
Stopped(String),
}
Variants§
Type(String)
Unimplemented
AssertionFailed(String)
Overflow
SymbolicLength(&'static str)
SMTLIB only supports fixed-length bitvectors. This error is raised if a bitvector width would become symbolic.
NoSymbolicType
Returned when there is no symbolic representation for a specific type. Certain types like strings are always assumed to be concrete.
Unreachable(String)
Used for cases that should be unreachable (i.e. are definite errors).
Unmapped
Used when we try to access memory that does not have any defined semantics.
BadRead(&'static str)
BadWrite(&'static str)
NoElfEntry
OutOfBounds(&'static str)
MatchFailure
Timeout
Dead
Exit
NoModel
Z3Error(String)
Z3Unknown
Stopped(String)
Execution stopped because this function is in the stop_functions set
Trait Implementations§
Source§impl Error for ExecError
impl Error for ExecError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for ExecError
impl RefUnwindSafe for ExecError
impl Send for ExecError
impl Sync for ExecError
impl Unpin for ExecError
impl UnwindSafe for ExecError
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