pub struct SimpleAbstractInterpreter { /* private fields */ }Expand description
A stub abstract interpreter that runs for a fixed number of steps.
Implementations§
Source§impl SimpleAbstractInterpreter
impl SimpleAbstractInterpreter
Sourcepub fn new(config: AnalysisConfig) -> Self
pub fn new(config: AnalysisConfig) -> Self
Create a new interpreter with the given config.
Sourcepub fn init_var(&mut self, var: &str, value: IntervalParityProduct)
pub fn init_var(&mut self, var: &str, value: IntervalParityProduct)
Set an initial abstract value for a variable.
Sourcepub fn results(&self) -> &AnalysisResults
pub fn results(&self) -> &AnalysisResults
Return a reference to current results.
Sourcepub fn alarms(&self) -> &AlarmCollector
pub fn alarms(&self) -> &AlarmCollector
Return a reference to collected alarms.
Sourcepub fn run_stub(&mut self) -> InterpretationSummary
pub fn run_stub(&mut self) -> InterpretationSummary
Return a summary (stub: always converges in 1 iteration).
Auto Trait Implementations§
impl Freeze for SimpleAbstractInterpreter
impl RefUnwindSafe for SimpleAbstractInterpreter
impl Send for SimpleAbstractInterpreter
impl Sync for SimpleAbstractInterpreter
impl Unpin for SimpleAbstractInterpreter
impl UnsafeUnpin for SimpleAbstractInterpreter
impl UnwindSafe for SimpleAbstractInterpreter
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