Struct minidump_processor::BitFlipDetails
source · pub struct BitFlipDetails {
pub was_non_canonical: bool,
pub is_null: bool,
pub was_low: bool,
pub nearby_registers: u32,
pub poison_registers: bool,
}
Fields§
§was_non_canonical: bool
The bit flip caused a non-canonical address access.
is_null: bool
The corrected address is null.
was_low: bool
The original address was fairly low.
This is only populated if is_null
is true, and may indicate that a bit flip didn’t occur
(and the original value was merely a small value which is more likely to be produced by
booleans, iteration, etc).
nearby_registers: u32
The number of registers near the corrected address.
This will only be populated for sufficiently high addresses (to avoid high false positive rates).
poison_registers: bool
There are poison patterns in one or more registers.
This may indicate that a bit flip didn’t occur, and instead there was a UAF.
Implementations§
source§impl BitFlipDetails
impl BitFlipDetails
sourcepub fn confidence(&self) -> f32
pub fn confidence(&self) -> f32
Calculate a confidence level between 0 and 1 pertaining to the bit flip likelihood.
Trait Implementations§
source§impl Clone for BitFlipDetails
impl Clone for BitFlipDetails
source§fn clone(&self) -> BitFlipDetails
fn clone(&self) -> BitFlipDetails
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 moresource§impl Debug for BitFlipDetails
impl Debug for BitFlipDetails
source§impl Default for BitFlipDetails
impl Default for BitFlipDetails
source§fn default() -> BitFlipDetails
fn default() -> BitFlipDetails
Returns the “default value” for a type. Read more
source§impl PartialEq for BitFlipDetails
impl PartialEq for BitFlipDetails
source§fn eq(&self, other: &BitFlipDetails) -> bool
fn eq(&self, other: &BitFlipDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BitFlipDetails
impl Serialize for BitFlipDetails
impl Eq for BitFlipDetails
impl StructuralPartialEq for BitFlipDetails
Auto Trait Implementations§
impl RefUnwindSafe for BitFlipDetails
impl Send for BitFlipDetails
impl Sync for BitFlipDetails
impl Unpin for BitFlipDetails
impl UnwindSafe for BitFlipDetails
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