8#ifndef TRITON_TRITONTOZ3_H
9#define TRITON_TRITONTOZ3_H
11#include <unordered_map>
43 std::string getStringValue(
const z3::expr& expr);
54 std::unordered_map<std::string, triton::ast::SharedAbstractNode>
symbols;
57 std::unordered_map<std::string, triton::engines::symbolic::SharedSymbolicVariable>
variables;
Converts a Triton's AST to Z3's AST.
std::unordered_map< std::string, triton::engines::symbolic::SharedSymbolicVariable > variables
The set of symbolic variables contained in the expression.
TRITON_EXPORT ~TritonToZ3()
Destructor.
TRITON_EXPORT TritonToZ3(bool eval=true)
Constructor.
std::unordered_map< std::string, triton::ast::SharedAbstractNode > symbols
The map of symbols. E.g: (let (symbols expr1) expr2)
z3::context context
The z3's context.
TRITON_EXPORT z3::expr convert(const triton::ast::SharedAbstractNode &node)
Converts to Z3's AST.
std::shared_ptr< triton::ast::AbstractNode > SharedAbstractNode
Shared Abstract Node.