libTriton
version 1.0 build 1592
Loading...
Searching...
No Matches
src
libtriton
includes
triton
liftingToPython.hpp
Go to the documentation of this file.
1
2
/*
3
** Copyright (C) - Triton
4
**
5
** This program is under the terms of the Apache License 2.0.
6
*/
7
8
#ifndef TRITON_LIFTINGTOPYTHON_HPP
9
#define TRITON_LIFTINGTOPYTHON_HPP
10
11
#include <ostream>
12
13
#include <
triton/astContext.hpp
>
14
#include <
triton/dllexport.hpp
>
15
#include <
triton/symbolicEngine.hpp
>
16
#include <
triton/symbolicExpression.hpp
>
17
18
19
21
namespace
triton
{
28
namespace
engines {
36
namespace
lifters {
44
45
class
LiftingToPython
{
46
private
:
48
triton::ast::SharedAstContext
astCtxt;
49
51
triton::engines::symbolic::SymbolicEngine
* symbolic;
52
54
void
requiredFunctions(std::ostream& stream);
55
56
public
:
58
TRITON_EXPORT
LiftingToPython
(
const
triton::ast::SharedAstContext
& astCtxt,
triton::engines::symbolic::SymbolicEngine
* symbolic);
59
61
TRITON_EXPORT std::ostream&
liftToPython
(std::ostream& stream,
const
triton::engines::symbolic::SharedSymbolicExpression
& expr,
bool
icomment=
false
);
62
};
63
65
};
67
};
69
};
70
71
#endif
/* TRITON_LIFTINGTOPYTHON_HPP */
astContext.hpp
triton::engines::lifters::LiftingToPython
The lifting to Python class.
Definition
liftingToPython.hpp:45
triton::engines::lifters::LiftingToPython::LiftingToPython
TRITON_EXPORT LiftingToPython(const triton::ast::SharedAstContext &astCtxt, triton::engines::symbolic::SymbolicEngine *symbolic)
Constructor.
Definition
liftingToPython.cpp:22
triton::engines::lifters::LiftingToPython::liftToPython
TRITON_EXPORT std::ostream & liftToPython(std::ostream &stream, const triton::engines::symbolic::SharedSymbolicExpression &expr, bool icomment=false)
Lifts a symbolic expression and all its references to Python format. If icomment is true,...
Definition
liftingToPython.cpp:65
triton::engines::symbolic::SymbolicEngine
The symbolic engine class.
Definition
symbolicEngine.hpp:62
dllexport.hpp
triton::ast::SharedAstContext
std::shared_ptr< triton::ast::AstContext > SharedAstContext
Shared AST context.
Definition
ast.hpp:65
triton::engines::symbolic::SharedSymbolicExpression
std::shared_ptr< triton::engines::symbolic::SymbolicExpression > SharedSymbolicExpression
Shared Symbolic Expression.
Definition
ast.hpp:40
triton
The Triton namespace.
Definition
architecture.cpp:27
symbolicEngine.hpp
symbolicExpression.hpp
Generated by
1.10.0