Struct ChangeAnalysis
pub struct ChangeAnalysis<'a, A: Arch, O: Oracle<A>, C: EncodingAnalysisCache<A>> {
pub o: &'a mut O,
pub cache: &'a C,
pub dataflows: &'a Dataflows<A, ()>,
pub state_gen: StateGen<'a, A, O::MappableArea>,
pub use_trap_flag: &'a mut bool,
pub threshold_values: &'a ThresholdValues<A>,
pub found_dependent_bytes: &'a mut bool,
}
Expand description
Determines Change
s between the dataflows of two instructions.
Fields§
§o: &'a mut O
§cache: &'a C
§dataflows: &'a Dataflows<A, ()>
§state_gen: StateGen<'a, A, O::MappableArea>
§use_trap_flag: &'a mut bool
§threshold_values: &'a ThresholdValues<A>
§found_dependent_bytes: &'a mut bool
Implementations§
§impl<'a, A: Arch, O: Oracle<A>, C: EncodingAnalysisCache<A>> ChangeAnalysis<'a, A, O, C>
impl<'a, A: Arch, O: Oracle<A>, C: EncodingAnalysisCache<A>> ChangeAnalysis<'a, A, O, C>
pub fn detect_change<R: Rng>( &mut self, rng: &mut R, new_instr: &Instruction, ) -> Result<Change<A>, EncodingError<A>>
Auto Trait Implementations§
impl<'a, A, O, C> !Freeze for ChangeAnalysis<'a, A, O, C>
impl<'a, A, O, C> RefUnwindSafe for ChangeAnalysis<'a, A, O, C>where
O: RefUnwindSafe,
C: RefUnwindSafe,
<O as Oracle<A>>::MappableArea: RefUnwindSafe,
<A as Arch>::GpReg: RefUnwindSafe,
<A as Arch>::Reg: RefUnwindSafe,
impl<'a, A, O, C> Send for ChangeAnalysis<'a, A, O, C>
impl<'a, A, O, C> Sync for ChangeAnalysis<'a, A, O, C>
impl<'a, A, O, C> Unpin for ChangeAnalysis<'a, A, O, C>
impl<'a, A, O, C> !UnwindSafe for ChangeAnalysis<'a, A, O, C>
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