libTriton version 1.0 build 1592
|
This class is used to represent specific properties of an Arm operand. More...
#include <armOperandProperties.hpp>
Public Member Functions | |
TRITON_EXPORT | ArmOperandProperties () |
Constructor. | |
TRITON_EXPORT | ArmOperandProperties (const ArmOperandProperties &other) |
Constructor by copy. | |
TRITON_EXPORT triton::arch::arm::shift_e | getShiftType (void) const |
Returns the type of the shift. | |
TRITON_EXPORT triton::uint32 | getShiftImmediate (void) const |
Returns the value of the shift immediate. | |
TRITON_EXPORT triton::arch::register_e | getShiftRegister (void) const |
Returns the value of the shift register. | |
TRITON_EXPORT triton::arch::arm::extend_e | getExtendType (void) const |
Returns the type of the extend. | |
TRITON_EXPORT triton::arch::arm::vas_e | getVASType (void) const |
Returns the vector arrangement specifier. | |
TRITON_EXPORT triton::sint32 | getVectorIndex (void) const |
Returns the vector index (-1 if irrelevant). | |
TRITON_EXPORT std::string | getVASName (void) const |
Returns the vector arrangement specifier string name. | |
TRITON_EXPORT triton::uint32 | getVASSize (void) const |
Returns the vector arrangement specifier size (64 or 128 bits). | |
TRITON_EXPORT triton::uint32 | getExtendSize (void) const |
Returns the size (in bits) of the extend. | |
TRITON_EXPORT bool | isSubtracted (void) const |
Returns true if the operand has to be subtracted when computing a memory access. | |
TRITON_EXPORT void | setShiftType (triton::arch::arm::shift_e type) |
Sets the type of the shift. | |
TRITON_EXPORT void | setShiftValue (triton::uint32 imm) |
Sets the value of the shift immediate. | |
TRITON_EXPORT void | setShiftValue (triton::arch::register_e reg) |
Sets the value of the shift register. | |
TRITON_EXPORT void | setExtendType (triton::arch::arm::extend_e type) |
Sets the type of the extend. | |
TRITON_EXPORT void | setVASType (triton::arch::arm::vas_e type) |
Sets the type of vector arrangement specifier. | |
TRITON_EXPORT void | setExtendedSize (triton::uint32 dstSize) |
Sets the extended size (in bits) after extension. | |
TRITON_EXPORT void | setVectorIndex (triton::sint32 index) |
Sets the vector index. | |
TRITON_EXPORT void | setSubtracted (bool value) |
Sets subtracted flag. | |
TRITON_EXPORT ArmOperandProperties & | operator= (const ArmOperandProperties &other) |
Copy an ArmOperandProperties. | |
Protected Attributes | |
triton::arch::arm::shift_e | shiftType |
The shift type. | |
triton::uint32 | shiftValueImmediate |
The shift value immediate. | |
triton::arch::register_e | shiftValueRegister |
The shift value register. | |
triton::arch::arm::extend_e | extendType |
The extend type. | |
triton::arch::arm::vas_e | vasType |
Vector arrangement specifier. | |
triton::sint32 | vectorIndex |
Vector index (-1 if irrelevant). | |
triton::uint32 | extendSize |
The extend size (in bits). | |
bool | subtracted |
The subtracted flag. Used in memory access operands and determines whether this operand has to be added or subtracted to the base register. | |
This class is used to represent specific properties of an Arm operand.
Definition at line 45 of file armOperandProperties.hpp.
triton::arch::arm::ArmOperandProperties::ArmOperandProperties | ( | ) |
Constructor.
Definition at line 18 of file armOperandProperties.cpp.
triton::arch::arm::ArmOperandProperties::ArmOperandProperties | ( | const ArmOperandProperties & | other | ) |
Constructor by copy.
Definition at line 30 of file armOperandProperties.cpp.
triton::uint32 triton::arch::arm::ArmOperandProperties::getExtendSize | ( | void | ) | const |
Returns the size (in bits) of the extend.
Definition at line 128 of file armOperandProperties.cpp.
triton::arch::arm::extend_e triton::arch::arm::ArmOperandProperties::getExtendType | ( | void | ) | const |
Returns the type of the extend.
Definition at line 70 of file armOperandProperties.cpp.
triton::uint32 triton::arch::arm::ArmOperandProperties::getShiftImmediate | ( | void | ) | const |
Returns the value of the shift immediate.
Definition at line 60 of file armOperandProperties.cpp.
triton::arch::register_e triton::arch::arm::ArmOperandProperties::getShiftRegister | ( | void | ) | const |
Returns the value of the shift register.
Definition at line 65 of file armOperandProperties.cpp.
triton::arch::arm::shift_e triton::arch::arm::ArmOperandProperties::getShiftType | ( | void | ) | const |
Returns the type of the shift.
Definition at line 55 of file armOperandProperties.cpp.
std::string triton::arch::arm::ArmOperandProperties::getVASName | ( | void | ) | const |
Returns the vector arrangement specifier string name.
Definition at line 85 of file armOperandProperties.cpp.
triton::uint32 triton::arch::arm::ArmOperandProperties::getVASSize | ( | void | ) | const |
Returns the vector arrangement specifier size (64 or 128 bits).
Definition at line 106 of file armOperandProperties.cpp.
triton::arch::arm::vas_e triton::arch::arm::ArmOperandProperties::getVASType | ( | void | ) | const |
Returns the vector arrangement specifier.
Definition at line 75 of file armOperandProperties.cpp.
triton::sint32 triton::arch::arm::ArmOperandProperties::getVectorIndex | ( | void | ) | const |
Returns the vector index (-1 if irrelevant).
Definition at line 80 of file armOperandProperties.cpp.
bool triton::arch::arm::ArmOperandProperties::isSubtracted | ( | void | ) | const |
Returns true if the operand has to be subtracted when computing a memory access.
Definition at line 133 of file armOperandProperties.cpp.
ArmOperandProperties & triton::arch::arm::ArmOperandProperties::operator= | ( | const ArmOperandProperties & | other | ) |
Copy an ArmOperandProperties.
Definition at line 42 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setExtendedSize | ( | triton::uint32 | dstSize | ) |
Sets the extended size (in bits) after extension.
Definition at line 169 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setExtendType | ( | triton::arch::arm::extend_e | type | ) |
Sets the type of the extend.
Definition at line 155 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setShiftType | ( | triton::arch::arm::shift_e | type | ) |
Sets the type of the shift.
Definition at line 148 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setShiftValue | ( | triton::arch::register_e | reg | ) |
Sets the value of the shift register.
Definition at line 143 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setShiftValue | ( | triton::uint32 | imm | ) |
Sets the value of the shift immediate.
Definition at line 138 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setSubtracted | ( | bool | value | ) |
Sets subtracted flag.
Definition at line 203 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setVASType | ( | triton::arch::arm::vas_e | type | ) |
Sets the type of vector arrangement specifier.
Definition at line 162 of file armOperandProperties.cpp.
void triton::arch::arm::ArmOperandProperties::setVectorIndex | ( | triton::sint32 | index | ) |
Sets the vector index.
Definition at line 208 of file armOperandProperties.cpp.
|
protected |
The extend size (in bits).
Definition at line 66 of file armOperandProperties.hpp.
|
protected |
The extend type.
Definition at line 57 of file armOperandProperties.hpp.
|
protected |
The shift type.
Definition at line 48 of file armOperandProperties.hpp.
|
protected |
The shift value immediate.
Definition at line 51 of file armOperandProperties.hpp.
|
protected |
The shift value register.
Definition at line 54 of file armOperandProperties.hpp.
|
protected |
The subtracted flag. Used in memory access operands and determines whether this operand has to be added or subtracted to the base register.
Definition at line 69 of file armOperandProperties.hpp.
|
protected |
Vector arrangement specifier.
Definition at line 60 of file armOperandProperties.hpp.
|
protected |
Vector index (-1 if irrelevant).
Definition at line 63 of file armOperandProperties.hpp.