pub struct HammerVictimTargetCheck { /* private fields */ }Expand description
Target-specific bit flip checker.
Verifies that specific target bit flips occur at expected locations. Useful for validating attack precision.
Implementations§
Source§impl HammerVictimTargetCheck
impl HammerVictimTargetCheck
Sourcepub fn new(
memory: ConsecBlocks,
pattern: DataPattern,
targets: Vec<BitFlip>,
) -> Self
pub fn new( memory: ConsecBlocks, pattern: DataPattern, targets: Vec<BitFlip>, ) -> Self
Creates a new target-checking victim.
§Arguments
memory- The memory region containing targetspattern- Expected data patterntargets- Specific bit flips expected to occur
Trait Implementations§
Source§impl Serialize for HammerVictimTargetCheck
impl Serialize for HammerVictimTargetCheck
Source§impl VictimOrchestrator for HammerVictimTargetCheck
impl VictimOrchestrator for HammerVictimTargetCheck
Source§fn start(&mut self) -> Result<(), HammerVictimError>
fn start(&mut self) -> Result<(), HammerVictimError>
Starts the victim and allocates required resources. Read more
Source§fn check(&mut self) -> Result<VictimResult, HammerVictimError>
fn check(&mut self) -> Result<VictimResult, HammerVictimError>
Checks if the hammering attack was successful. Read more
Auto Trait Implementations§
impl Freeze for HammerVictimTargetCheck
impl !RefUnwindSafe for HammerVictimTargetCheck
impl !Send for HammerVictimTargetCheck
impl !Sync for HammerVictimTargetCheck
impl Unpin for HammerVictimTargetCheck
impl UnwindSafe for HammerVictimTargetCheck
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> 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