pub struct FixpointEngine { /* private fields */ }Expand description
A fixpoint iteration engine for abstract interpretation.
Implementations§
Source§impl FixpointEngine
impl FixpointEngine
Sourcepub fn is_fixpoint(current: &IntervalEnv, next: &IntervalEnv) -> bool
pub fn is_fixpoint(current: &IntervalEnv, next: &IntervalEnv) -> bool
Return whether fixpoint was reached (next == current).
Sourcepub fn should_widen(&self) -> bool
pub fn should_widen(&self) -> bool
Return whether we should apply widening (past the widening threshold).
Sourcepub fn is_exhausted(&self) -> bool
pub fn is_exhausted(&self) -> bool
Return whether we’ve exceeded the iteration limit.
Sourcepub fn iterations(&self) -> u32
pub fn iterations(&self) -> u32
Return the iteration count so far.
Auto Trait Implementations§
impl Freeze for FixpointEngine
impl RefUnwindSafe for FixpointEngine
impl Send for FixpointEngine
impl Sync for FixpointEngine
impl Unpin for FixpointEngine
impl UnsafeUnpin for FixpointEngine
impl UnwindSafe for FixpointEngine
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