Struct ConcreteZ3Model
pub struct ConcreteZ3Model<'ctx, A: Arch, S: SmtSolver<'ctx>> { /* private fields */ }
Expand description
A concrete SMT model of an encoding’s semantics, where all outputs have been instantiated and no longer contain any references to encoding parts.
Implementations§
§impl<'ctx, A: Arch, S: SmtSolver<'ctx>> ConcreteZ3Model<'ctx, A, S>
impl<'ctx, A: Arch, S: SmtSolver<'ctx>> ConcreteZ3Model<'ctx, A, S>
pub fn concrete_outputs(&self) -> &[ConcreteOutput<'ctx, A, S>]
pub fn concrete_outputs(&self) -> &[ConcreteOutput<'ctx, A, S>]
Returns all concrete outputs in the model.
pub fn part_names(&self) -> &[PartName<'ctx, S>]
pub fn part_names(&self) -> &[PartName<'ctx, S>]
Returns the part names of the model.
pub fn intermediate_values_needed(&self) -> &[usize]
pub fn intermediate_values_needed(&self) -> &[usize]
Returns which intermediate indices need to be asserted to obtain correct results in the final output.
Trait Implementations§
§impl<'ctx, A: Clone + Arch, S: Clone + SmtSolver<'ctx>> Clone for ConcreteZ3Model<'ctx, A, S>
impl<'ctx, A: Clone + Arch, S: Clone + SmtSolver<'ctx>> Clone for ConcreteZ3Model<'ctx, A, S>
§fn clone(&self) -> ConcreteZ3Model<'ctx, A, S>
fn clone(&self) -> ConcreteZ3Model<'ctx, A, S>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'ctx, A, S> Freeze for ConcreteZ3Model<'ctx, A, S>
impl<'ctx, A, S> RefUnwindSafe for ConcreteZ3Model<'ctx, A, S>
impl<'ctx, A, S> Send for ConcreteZ3Model<'ctx, A, S>
impl<'ctx, A, S> Sync for ConcreteZ3Model<'ctx, A, S>
impl<'ctx, A, S> Unpin for ConcreteZ3Model<'ctx, A, S>
impl<'ctx, A, S> UnwindSafe for ConcreteZ3Model<'ctx, A, S>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
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