libTriton version 1.0 build 1592
|
Converts a Triton's AST to Z3's AST. More...
#include <tritonToZ3.hpp>
Public Member Functions | |
TRITON_EXPORT | TritonToZ3 (bool eval=true) |
Constructor. | |
TRITON_EXPORT | ~TritonToZ3 () |
Destructor. | |
TRITON_EXPORT z3::expr | convert (const triton::ast::SharedAbstractNode &node) |
Converts to Z3's AST. | |
Public Attributes | |
std::unordered_map< std::string, triton::ast::SharedAbstractNode > | symbols |
The map of symbols. E.g: (let (symbols expr1) expr2) | |
std::unordered_map< std::string, triton::engines::symbolic::SharedSymbolicVariable > | variables |
The set of symbolic variables contained in the expression. | |
Protected Attributes | |
z3::context | context |
The z3's context. | |
Converts a Triton's AST to Z3's AST.
Definition at line 37 of file tritonToZ3.hpp.
triton::ast::TritonToZ3::TritonToZ3 | ( | bool | eval = true | ) |
Constructor.
Definition at line 22 of file tritonToZ3.cpp.
triton::ast::TritonToZ3::~TritonToZ3 | ( | ) |
Destructor.
Definition at line 28 of file tritonToZ3.cpp.
z3::expr triton::ast::TritonToZ3::convert | ( | const triton::ast::SharedAbstractNode & | node | ) |
Converts to Z3's AST.
Definition at line 40 of file tritonToZ3.cpp.
|
protected |
The z3's context.
Definition at line 50 of file tritonToZ3.hpp.
std::unordered_map<std::string, triton::ast::SharedAbstractNode> triton::ast::TritonToZ3::symbols |
The map of symbols. E.g: (let (symbols expr1) expr2)
Definition at line 54 of file tritonToZ3.hpp.
std::unordered_map<std::string, triton::engines::symbolic::SharedSymbolicVariable> triton::ast::TritonToZ3::variables |
The set of symbolic variables contained in the expression.
Definition at line 57 of file tritonToZ3.hpp.