pub struct SymbolicVm<'tcx> {
tcx: TyCtxt<'tcx>,
}Expand description
Entry point for symbolic MIR execution.
Stateless wrapper around a TyCtxt; creates VmState instances
for each path by executing retained MIR items.
Fields§
§tcx: TyCtxt<'tcx>Implementations§
Source§impl<'tcx> SymbolicVm<'tcx>
impl<'tcx> SymbolicVm<'tcx>
Sourcepub fn execute<'ctx>(
&self,
ctx: &'ctx Context,
items: &ProofGoal<'tcx>,
) -> VmState<'ctx, 'tcx>
pub fn execute<'ctx>( &self, ctx: &'ctx Context, items: &ProofGoal<'tcx>, ) -> VmState<'ctx, 'tcx>
Execute retained MIR items and produce a symbolic VM state.
The ctx parameter provides a shared Z3 context; the resulting
VmState borrows it so that a single context can be reused
across property checks.
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for SymbolicVm<'tcx>
impl<'tcx> !Send for SymbolicVm<'tcx>
impl<'tcx> !Sync for SymbolicVm<'tcx>
impl<'tcx> !UnwindSafe for SymbolicVm<'tcx>
impl<'tcx> DynSend for SymbolicVm<'tcx>
impl<'tcx> DynSync for SymbolicVm<'tcx>
impl<'tcx> Freeze for SymbolicVm<'tcx>
impl<'tcx> Unpin for SymbolicVm<'tcx>
impl<'tcx> UnsafeUnpin for SymbolicVm<'tcx>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more