Expand description
Symbolic VM state and execution rules.
Re-exportsยง
pub(crate) use step::RelevantItem;๐use rustc_hir::def_id::DefId;๐use rustc_middle::mir::Body;๐use rustc_middle::mir::Local;๐use rustc_middle::ty::TyCtxt;๐use std::cell::RefCell;๐use z3::Context;๐use z3::ast::Int;๐use crate::compat::FxHashMap;๐use crate::compat::FxHashSet;๐use crate::vm::constructor_policy::ConstructorMirMode;๐use self::diagnostics::Diagnostics;๐use self::method_cache::CachedMethodResult;๐use self::state::AllocId;๐use self::state::Constraints;๐use self::state::FrameState;๐use self::state::InlineCtx;๐use self::state::MemoryEvent;๐use self::state::MemoryUnit;๐use self::state::OwnershipTransfer;๐use self::state::SavedCallerFrame;๐
Modulesยง
- arithmetic ๐
- call_
contracts ๐ - constructor_
policy ๐ - Constructor MIR selection used by the symbolic VM.
- container ๐
- Container layout, length, and backing-allocation queries.
- contract_
expr ๐ - Contract-fact expressions and shared numeric operations.
- contract_
facts ๐ - diagnostics ๐
- Path-scoped diagnostic evidence and its current MIR source location.
- display ๐
- Debug and diagnostic display for the symbolic VM.
- exec ๐
- Execute retained path items in the symbolic VM.
- inline ๐
- inspection ๐
- VM observations and optional tracing used by verification and other checkers.
- iterator ๐
- materialize ๐
- Materialize external fields and pointee values in symbolic memory.
- memory ๐
- Symbolic memory model for the VM.
- method_
cache ๐ - mir_
rules ๐ - parameters ๐
- range ๐
- region ๐
- Region (lifetime) helpers shared by the VM and the property checker.
- state ๐
- Supporting symbolic VM state types and operations.
- step ๐
- MIR items retained by the backward slicer for VM execution.
Structsยง
- VmExecutor ๐
- Executes MIR using an immutable context and a path-local symbolic state.
- VmState ๐
- Path-local memory, constraints, frames, and diagnostics.