|
Gymbo
|
Struct representing the symbolic state of the symbolic execution. More...
#include <type.h>

Public Member Functions | |
| SymState () | |
| Default constructor for symbolic state. More... | |
| SymState (int pc, int var_cnt, Mem &mem, SMem &smem, Linkedlist< Sym > &symbolic_stack, std::vector< Sym > &path_constraints, SymProb *p, SymProb *cond_p, bool has_observed_p_cond) | |
| Constructor for symbolic state with specified values. More... | |
| SymState * | copy () |
| Create a copy object. More... | |
| void | set_concrete_val (int var_id, float val) |
| Sets a concrete value for a variable in the symbolic state. More... | |
| std::string | toString (bool include_memory=true) const |
| Returns the human-redable string representation of concrete memory, symbolic memory and path constraints. More... | |
| void | print () const |
| Prints a human-readable representation of the symbolic state. More... | |
Public Attributes | |
| int | pc |
| int | var_cnt |
| Mem | mem |
| SMem | smem |
| Linkedlist< Sym > | symbolic_stack |
| std::vector< Sym > | path_constraints |
| SymProb * | p |
| SymProb * | cond_p |
| bool | has_observed_p_cond |
Struct representing the symbolic state of the symbolic execution.
|
inline |
Default constructor for symbolic state.
|
inline |
Constructor for symbolic state with specified values.
| pc | Program counter. |
| var_cnt | Variable count. |
| mem | Concrete memory. |
| smem | Symbolic memory. |
| symbolic_stack | Symbolic stack. |
| path_constraints | Vector of symbolic path constraints. |
| p | Symbolic probability of the state being reached. |
| cond_p | Symbolic conditional probability of the state being reached. |
| has_observed_p_cond | Flag indicating whether path_constraints contains probabilistic path conditions. |
|
inline |
Create a copy object.
|
inline |
Prints a human-readable representation of the symbolic state.
|
inline |
Sets a concrete value for a variable in the symbolic state.
| var_id | Index of the variable. |
| val | Concrete value to set. |
|
inline |
Returns the human-redable string representation of concrete memory, symbolic memory and path constraints.
| include_memory | If set to true, add the concrete and symbolic memories (default true). |
| SymProb* gymbo::SymState::cond_p |
Symbolic conditional probability of the state being reached
| bool gymbo::SymState::has_observed_p_cond |
< Flag indicating whether path_constraints contains probabilistic path conditions.
| Mem gymbo::SymState::mem |
Concrete memory.
| SymProb* gymbo::SymState::p |
Symbolic probability of the state being reached
| std::vector<Sym> gymbo::SymState::path_constraints |
Vector of symbolic path constraints.
| int gymbo::SymState::pc |
Program counter.
| SMem gymbo::SymState::smem |
Symbolic memory.
| Linkedlist<Sym> gymbo::SymState::symbolic_stack |
Symbolic stack.
| int gymbo::SymState::var_cnt |
Variable count.