pub struct ConsecBlocks {
pub blocks: Vec<Memory>,
}Expand description
Collection of consecutive physical memory blocks.
This struct manages multiple Memory blocks that may or may not be physically
contiguous. It provides a unified interface for accessing memory across multiple
allocations while tracking physical address ranges.
Fields§
§blocks: Vec<Memory>Vector of memory blocks managed by this collection
Implementations§
Source§impl ConsecBlocks
impl ConsecBlocks
Trait Implementations§
Source§impl BytePointer for ConsecBlocks
impl BytePointer for ConsecBlocks
Source§impl Clone for ConsecBlocks
impl Clone for ConsecBlocks
Source§fn clone(&self) -> ConsecBlocks
fn clone(&self) -> ConsecBlocks
Returns a duplicate 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 moreSource§impl Debug for ConsecBlocks
impl Debug for ConsecBlocks
Source§impl GetConsecPfns for ConsecBlocks
impl GetConsecPfns for ConsecBlocks
impl VictimMemory for ConsecBlocks
Auto Trait Implementations§
impl Freeze for ConsecBlocks
impl !RefUnwindSafe for ConsecBlocks
impl Send for ConsecBlocks
impl !Sync for ConsecBlocks
impl Unpin for ConsecBlocks
impl UnwindSafe for ConsecBlocks
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> Checkable for Twhere
T: VictimMemory,
impl<T> Checkable for Twhere
T: VictimMemory,
Source§fn check(&self, pattern: DataPattern) -> Vec<BitFlip>
fn check(&self, pattern: DataPattern) -> Vec<BitFlip>
Checks memory against a pattern and returns detected bit flips.
Source§fn check_excluding(
&self,
pattern: DataPattern,
pages: &[*const u8],
) -> Vec<BitFlip>
fn check_excluding( &self, pattern: DataPattern, pages: &[*const u8], ) -> Vec<BitFlip>
Checks memory excluding specific pages.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Initializable for Twhere
T: VictimMemory,
impl<T> Initializable for Twhere
T: VictimMemory,
Source§fn initialize(&self, pattern: DataPattern)
fn initialize(&self, pattern: DataPattern)
Initializes memory with the given data pattern.
Source§fn initialize_excluding(&self, pattern: DataPattern, pages: &[*const u8])
fn initialize_excluding(&self, pattern: DataPattern, pages: &[*const u8])
Initializes memory excluding specific pages.
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