[−][src]Trait gf::ai::state::SpaceState
🟢 An abstract state of an address space with A
for addresses and V
for
values.
Required methods
fn store(&mut self, span: SpaceSpan<A>, value: V) -> (Option<()>, V)
Store to the space.
This method returns a tuple where the first element is the successful store indicator in terms of the trivial lattice {⊥, ⊤}, and the second one is the error context state.
Provided methods
fn store_result(
&mut self,
span: SpaceSpan<A>,
value: V
) -> Result<Option<()>, V>
&mut self,
span: SpaceSpan<A>,
value: V
) -> Result<Option<()>, V>
Store to the space returning a Result
.
This returns Ok
when the error context state is ⊥, and otherwise the
error context state wrapped in Err
.
Implementors
impl SpaceState<FlatLattice<BitVec>, FlatLattice<Expr>> for SymbolicSpaceState
[src]
fn store(
&mut self,
span: SpaceSpan<FlatLattice<BitVec>>,
value: FlatLattice<Expr>
) -> (Option<()>, FlatLattice<Expr>)
[src]
&mut self,
span: SpaceSpan<FlatLattice<BitVec>>,
value: FlatLattice<Expr>
) -> (Option<()>, FlatLattice<Expr>)
impl SpaceState<FlatLattice<BitVec>, FlatLattice<BitVec>> for ConcreteSpaceState
[src]
fn store(
&mut self,
span: SpaceSpan<FlatLattice<BitVec>>,
value: FlatLattice<BitVec>
) -> (Option<()>, FlatLattice<BitVec>)
[src]
&mut self,
span: SpaceSpan<FlatLattice<BitVec>>,
value: FlatLattice<BitVec>
) -> (Option<()>, FlatLattice<BitVec>)
impl SpaceState<BitVec, FlatLattice<Expr>> for SymbolicSpaceState
[src]
fn store(
&mut self,
span: SpaceSpan<BitVec>,
value: FlatLattice<Expr>
) -> (Option<()>, FlatLattice<Expr>)
[src]
&mut self,
span: SpaceSpan<BitVec>,
value: FlatLattice<Expr>
) -> (Option<()>, FlatLattice<Expr>)
impl SpaceState<BitVec, FlatLattice<BitVec>> for ConcreteSpaceState
[src]
fn store(
&mut self,
span: SpaceSpan<BitVec>,
value: FlatLattice<BitVec>
) -> (Option<()>, FlatLattice<BitVec>)
[src]
&mut self,
span: SpaceSpan<BitVec>,
value: FlatLattice<BitVec>
) -> (Option<()>, FlatLattice<BitVec>)
impl<A: IntoU128> SpaceState<A, FlatLattice<Expr>> for SymbolicSpaceState
[src]
fn store(
&mut self,
span: SpaceSpan<A>,
value: FlatLattice<Expr>
) -> (Option<()>, FlatLattice<Expr>)
[src]
&mut self,
span: SpaceSpan<A>,
value: FlatLattice<Expr>
) -> (Option<()>, FlatLattice<Expr>)