8#ifndef TRITON_SYMBOLICVARIABLE_H
9#define TRITON_SYMBOLICVARIABLE_H
43 class SymbolicVariable;
87 const std::string&
alias);
99 TRITON_EXPORT
const std::string&
getAlias(
void)
const;
102 TRITON_EXPORT
const std::string&
getComment(
void)
const;
105 TRITON_EXPORT
const std::string&
getName(
void)
const;
The symbolic variable class.
TRITON_EXPORT const std::string & getName(void) const
Returns the name of the symbolic variable.
std::string comment
The comment of the symbolic variable.
TRITON_EXPORT SymbolicVariable & operator=(const SymbolicVariable &other)
Operator.
triton::uint32 size
The size (in bits) of the symbolic variable.
TRITON_EXPORT triton::uint32 getSize(void) const
Returns the size (in bits) of the symbolic variable.
TRITON_EXPORT triton::engines::symbolic::variable_e getType(void) const
Returns the symbolic variable type assignment.
triton::usize id
The id of the symbolic variable. This id is unique.
std::string name
The name of the symbolic variable. Names are always something like this: SymVar_X.
TRITON_EXPORT const std::string & getAlias(void) const
Returns the alias of the symbolic variable.
triton::uint64 origin
The origin of the symbolic variable.
triton::engines::symbolic::variable_e type
The symbolic variable type assignment.
TRITON_EXPORT triton::uint64 getOrigin(void) const
Returns the source value of the symbolic variable.
TRITON_EXPORT void setComment(const std::string &comment)
Sets the comment of the symbolic variable.
TRITON_EXPORT triton::usize getId(void) const
Returns the id of the symbolic variable. This id is unique.
TRITON_EXPORT const std::string & getComment(void) const
Returns the comment of the symbolic variable.
TRITON_EXPORT void setAlias(const std::string &alias)
Sets the alias of the symbolic variable.
TRITON_EXPORT SymbolicVariable(triton::engines::symbolic::variable_e type, triton::uint64 origin, triton::usize id, triton::uint32 size, const std::string &alias)
Constructor.
std::string alias
The alias of the symbolic variable.
std::shared_ptr< triton::engines::symbolic::SymbolicVariable > SharedSymbolicVariable
Shared Symbolic variable.
std::ostream & operator<<(std::ostream &stream, const SymbolicExpression &symExpr)
Displays a symbolic expression.
bool operator<(const SymbolicVariable &symvar1, const SymbolicVariable &symvar2)
Compares two symbolic variables.
variable_e
Type of symbolic variable.
std::weak_ptr< triton::engines::symbolic::SymbolicVariable > WeakSymbolicVariable
Weak Symbolic variable.
std::size_t usize
unsigned MAX_INT 32 or 64 bits according to the CPU.
std::uint64_t uint64
unisgned 64-bits
std::uint32_t uint32
unisgned 32-bits