Enum AnalysisResult
pub enum AnalysisResult<A: Arch> {
Ok(Encoding<A, ()>),
SkipInvalidUntil {
counter: InstructionCounter,
done: bool,
},
SkipMemoryErrorUntil {
counter: InstructionCounter,
done: bool,
},
SkipError,
TooShort,
TooLong,
}
Expand description
The result of running Encoding Analysis on an Instruction
.
Variants§
Implementations§
§impl<A: Arch> AnalysisResult<A>
impl<A: Arch> AnalysisResult<A>
pub fn filters(&self) -> Vec<InstructionFilter>
pub fn run( scope: &impl Scope, o: &mut impl Oracle<A>, cache: &impl EncodingAnalysisCache<A>, counter: &InstructionCounter, next_filtered_instruction: Option<Instruction>, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for AnalysisResult<A>
impl<A> RefUnwindSafe for AnalysisResult<A>
impl<A> Send for AnalysisResult<A>
impl<A> Sync for AnalysisResult<A>
impl<A> Unpin for AnalysisResult<A>
impl<A> UnwindSafe for AnalysisResult<A>
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, 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