libTriton
version 1.0 build 1530
|
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::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 | setExtendedSize (triton::uint32 dstSize) |
Sets the extended size (in bits) after extension. | |
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::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 43 of file armOperandProperties.hpp.