libTriton  version 0.7 build 1407
Public Member Functions | Protected Attributes | List of all members
triton::engines::symbolic::SymbolicVariable Class Reference

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 &comment)
 Constructor.
 
TRITON_EXPORT SymbolicVariable (const SymbolicVariable &other)
 Constructor by copy.
 
TRITON_EXPORT SymbolicVariableoperator= (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. More...
 
triton::usize id
 The id of the symbolic variable. This id is unique.
 
triton::uint64 origin
 The origin of the symbolic variable. More...
 
triton::uint32 size
 The size (in bits) of the symbolic variable.
 

Detailed Description

The symbolic variable class.

Definition at line 50 of file symbolicVariable.hpp.

Member Data Documentation

◆ name

std::string triton::engines::symbolic::SymbolicVariable::name
protected

The name of the symbolic variable. Names are always something like this: SymVar_X.

See also
TRITON_SYMVAR_NAME

Definition at line 62 of file symbolicVariable.hpp.

◆ origin

triton::uint64 triton::engines::symbolic::SymbolicVariable::origin
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 73 of file symbolicVariable.hpp.


The documentation for this class was generated from the following files: