pub struct StrictModeAnalyzer { /* private fields */ }Expand description
Defense 4: Analyzer strict mode.
In strict mode, the analyzer aborts if it cannot determine with certainty whether a particular mutation will violate an invariant.
Implementations§
Source§impl StrictModeAnalyzer
impl StrictModeAnalyzer
Sourcepub fn verify_mutation_coverage(
&self,
_analyzed_mutations: &[String],
uncertainty_warnings: &[String],
) -> ThreatResult<()>
pub fn verify_mutation_coverage( &self, _analyzed_mutations: &[String], uncertainty_warnings: &[String], ) -> ThreatResult<()>
Verify that all function mutations are accounted for.
§Security Property
In strict mode, rejects functions with uncertain mutation detection. This prevents invariant bypass via undetected mutations.
Auto Trait Implementations§
impl Freeze for StrictModeAnalyzer
impl RefUnwindSafe for StrictModeAnalyzer
impl Send for StrictModeAnalyzer
impl Sync for StrictModeAnalyzer
impl Unpin for StrictModeAnalyzer
impl UnsafeUnpin for StrictModeAnalyzer
impl UnwindSafe for StrictModeAnalyzer
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