Expand description
MIR statement and terminator executors for the symbolic VM.
Each executor is a transfer function that updates VmState based on
the semantics of a MIR construct. The VM walks retained MIR items
in forward path order, calling these executors.
Functions§
- contains_
hazard 🔒 - Whether any atom in this (possibly compound) property is a hazard
(
ContractKind::Hazard), which the caller explicitly opts into. - pow2_
factor 🔒 - Largest power-of-two factor of a non-negative constant (the alignment
implied by multiplying by
c):citself if it is a power of two, otherwise2^trailing_zeros(c). - rebind_
expr_ 🔒place - rebind_
property_ 🔒place - Rebind every
selfplace in a struct invariant to the given MIR local, so an invariant parsed against the struct’s ownselfcan be asserted on a freshly-created reference (&*NonNull<T>→&T). - resolve_
u64_ 🔒from_ place_ key - Try to resolve a u64 constant from a PlaceKey’s source in the VM state.