Enum AccessAnalysisError
pub enum AccessAnalysisError<A: Arch> {
Show 14 variants
Phantom(PhantomData<A>),
Randomization(RandomizationError),
OracleError(OracleError),
FindInputFailed(usize, FindInputError),
UnaccessibleMemoryAccess(usize),
OverlappingMemory(usize),
AccessNotAnalyzable(usize),
InstructionKeepsFaulting,
MemoryErrorOnWritableRegion,
InvalidInstruction,
ObservationTimeout,
InstructionIsEmulated,
MemoryAccessTooBig,
NonGpRegAccess,
}
Expand description
Error returned when MemoryAccessAnalysis
fails.
Variants§
Phantom(PhantomData<A>)
Randomization(RandomizationError)
OracleError(OracleError)
FindInputFailed(usize, FindInputError)
UnaccessibleMemoryAccess(usize)
OverlappingMemory(usize)
AccessNotAnalyzable(usize)
InstructionKeepsFaulting
MemoryErrorOnWritableRegion
InvalidInstruction
ObservationTimeout
InstructionIsEmulated
MemoryAccessTooBig
NonGpRegAccess
Trait Implementations§
§impl<A: Clone + Arch> Clone for AccessAnalysisError<A>
impl<A: Clone + Arch> Clone for AccessAnalysisError<A>
§fn clone(&self) -> AccessAnalysisError<A>
fn clone(&self) -> AccessAnalysisError<A>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl<A: Debug + Arch> Debug for AccessAnalysisError<A>
impl<A: Debug + Arch> Debug for AccessAnalysisError<A>
§impl<'de, A: Arch> Deserialize<'de> for AccessAnalysisError<A>
impl<'de, A: Arch> Deserialize<'de> for AccessAnalysisError<A>
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl<A: Arch> Display for AccessAnalysisError<A>
impl<A: Arch> Display for AccessAnalysisError<A>
§impl<A: Arch> Error for AccessAnalysisError<A>
impl<A: Arch> Error for AccessAnalysisError<A>
1.30.0 · 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()
§impl<A: Arch> From<OracleError> for AccessAnalysisError<A>
impl<A: Arch> From<OracleError> for AccessAnalysisError<A>
§fn from(e: OracleError) -> Self
fn from(e: OracleError) -> Self
Converts to this type from the input type.
§impl<A: Arch> From<RandomizationError> for AccessAnalysisError<A>
impl<A: Arch> From<RandomizationError> for AccessAnalysisError<A>
§fn from(e: RandomizationError) -> Self
fn from(e: RandomizationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<A> Freeze for AccessAnalysisError<A>
impl<A> RefUnwindSafe for AccessAnalysisError<A>where
A: RefUnwindSafe,
impl<A> Send for AccessAnalysisError<A>
impl<A> Sync for AccessAnalysisError<A>
impl<A> Unpin for AccessAnalysisError<A>where
A: Unpin,
impl<A> UnwindSafe for AccessAnalysisError<A>where
A: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more