libTriton version 1.0 build 1592
|
The symbolic variable class. More...
#include <symbolicVariable.hpp>
Public Member Functions | |
TRITON_EXPORT | SymbolicVariable (triton::engines::symbolic::variable_e type, triton::uint64 origin, triton::usize id, triton::uint32 size, const std::string &alias) |
Constructor. | |
TRITON_EXPORT | SymbolicVariable (const SymbolicVariable &other) |
Constructor by copy. | |
TRITON_EXPORT SymbolicVariable & | operator= (const SymbolicVariable &other) |
Operator. | |
TRITON_EXPORT triton::engines::symbolic::variable_e | getType (void) const |
Returns the symbolic variable type assignment. | |
TRITON_EXPORT const std::string & | getAlias (void) const |
Returns the alias of the symbolic variable. | |
TRITON_EXPORT const std::string & | getComment (void) const |
Returns the comment of the symbolic variable. | |
TRITON_EXPORT const std::string & | getName (void) const |
Returns the name of the symbolic variable. | |
TRITON_EXPORT triton::usize | getId (void) const |
Returns the id of the symbolic variable. This id is unique. | |
TRITON_EXPORT triton::uint64 | getOrigin (void) const |
Returns the source value of the symbolic variable. | |
TRITON_EXPORT triton::uint32 | getSize (void) const |
Returns the size (in bits) of the symbolic variable. | |
TRITON_EXPORT void | setAlias (const std::string &alias) |
Sets the alias of the symbolic variable. | |
TRITON_EXPORT void | setComment (const std::string &comment) |
Sets the comment of the symbolic variable. | |
Protected Attributes | |
triton::engines::symbolic::variable_e | type |
The symbolic variable type assignment. | |
std::string | alias |
The alias of the symbolic variable. | |
std::string | comment |
The comment of the symbolic variable. | |
std::string | name |
The name of the symbolic variable. Names are always something like this: SymVar_X. | |
triton::usize | id |
The id of the symbolic variable. This id is unique. | |
triton::uint64 | origin |
The origin of the symbolic variable. | |
triton::uint32 | size |
The size (in bits) of the symbolic variable. | |
The symbolic variable class.
Definition at line 53 of file symbolicVariable.hpp.
triton::engines::symbolic::SymbolicVariable::SymbolicVariable | ( | triton::engines::symbolic::variable_e | type, |
triton::uint64 | origin, | ||
triton::usize | id, | ||
triton::uint32 | size, | ||
const std::string & | alias ) |
Constructor.
Definition at line 18 of file symbolicVariable.cpp.
triton::engines::symbolic::SymbolicVariable::SymbolicVariable | ( | const SymbolicVariable & | other | ) |
Constructor by copy.
Definition at line 39 of file symbolicVariable.cpp.
const std::string & triton::engines::symbolic::SymbolicVariable::getAlias | ( | void | ) | const |
Returns the alias of the symbolic variable.
Definition at line 67 of file symbolicVariable.cpp.
const std::string & triton::engines::symbolic::SymbolicVariable::getComment | ( | void | ) | const |
Returns the comment of the symbolic variable.
Definition at line 72 of file symbolicVariable.cpp.
triton::usize triton::engines::symbolic::SymbolicVariable::getId | ( | void | ) | const |
Returns the id of the symbolic variable. This id is unique.
Definition at line 82 of file symbolicVariable.cpp.
const std::string & triton::engines::symbolic::SymbolicVariable::getName | ( | void | ) | const |
Returns the name of the symbolic variable.
Definition at line 77 of file symbolicVariable.cpp.
triton::uint64 triton::engines::symbolic::SymbolicVariable::getOrigin | ( | void | ) | const |
Returns the source value of the symbolic variable.
Definition at line 87 of file symbolicVariable.cpp.
triton::uint32 triton::engines::symbolic::SymbolicVariable::getSize | ( | void | ) | const |
Returns the size (in bits) of the symbolic variable.
Definition at line 92 of file symbolicVariable.cpp.
triton::engines::symbolic::variable_e triton::engines::symbolic::SymbolicVariable::getType | ( | void | ) | const |
Returns the symbolic variable type assignment.
Definition at line 62 of file symbolicVariable.cpp.
SymbolicVariable & triton::engines::symbolic::SymbolicVariable::operator= | ( | const SymbolicVariable & | other | ) |
Operator.
Definition at line 50 of file symbolicVariable.cpp.
void triton::engines::symbolic::SymbolicVariable::setAlias | ( | const std::string & | alias | ) |
Sets the alias of the symbolic variable.
Definition at line 97 of file symbolicVariable.cpp.
void triton::engines::symbolic::SymbolicVariable::setComment | ( | const std::string & | comment | ) |
Sets the comment of the symbolic variable.
Definition at line 102 of file symbolicVariable.cpp.
|
protected |
The alias of the symbolic variable.
Definition at line 59 of file symbolicVariable.hpp.
|
protected |
The comment of the symbolic variable.
Definition at line 62 of file symbolicVariable.hpp.
|
protected |
The id of the symbolic variable. This id is unique.
Definition at line 68 of file symbolicVariable.hpp.
|
protected |
The name of the symbolic variable. Names are always something like this: SymVar_X.
Definition at line 65 of file symbolicVariable.hpp.
|
protected |
The origin of the symbolic variable.
If the symbolic varialbe is a triton::engines::symbolic::REG, this value contains the register ID. Otherwise, if the symbolic varialbe is a triton::engines::symbolic::MEM, this value contains the address of the memory access.
Definition at line 76 of file symbolicVariable.hpp.
|
protected |
The size (in bits) of the symbolic variable.
Definition at line 79 of file symbolicVariable.hpp.
|
protected |
The symbolic variable type assignment.
Definition at line 56 of file symbolicVariable.hpp.