libTriton  version 1.0 build 1532
Public Member Functions | Protected Attributes | List of all members
triton::arch::arm::ArmOperandProperties Class Reference

This class is used to represent specific properties of an Arm operand. More...

#include <armOperandProperties.hpp>

Inheritance diagram for triton::arch::arm::ArmOperandProperties:

Public Member Functions

TRITON_EXPORT ArmOperandProperties ()
 Constructor. More...
 
TRITON_EXPORT ArmOperandProperties (const ArmOperandProperties &other)
 Constructor by copy. More...
 
TRITON_EXPORT triton::arch::arm::shift_e getShiftType (void) const
 Returns the type of the shift. More...
 
TRITON_EXPORT triton::uint32 getShiftImmediate (void) const
 Returns the value of the shift immediate. More...
 
TRITON_EXPORT triton::arch::register_e getShiftRegister (void) const
 Returns the value of the shift register. More...
 
TRITON_EXPORT triton::arch::arm::extend_e getExtendType (void) const
 Returns the type of the extend. More...
 
TRITON_EXPORT triton::uint32 getExtendSize (void) const
 Returns the size (in bits) of the extend. More...
 
TRITON_EXPORT bool isSubtracted (void) const
 Returns true if the operand has to be subtracted when computing a memory access. More...
 
TRITON_EXPORT void setShiftType (triton::arch::arm::shift_e type)
 Sets the type of the shift. More...
 
TRITON_EXPORT void setShiftValue (triton::uint32 imm)
 Sets the value of the shift immediate. More...
 
TRITON_EXPORT void setShiftValue (triton::arch::register_e reg)
 Sets the value of the shift register. More...
 
TRITON_EXPORT void setExtendType (triton::arch::arm::extend_e type)
 Sets the type of the extend. More...
 
TRITON_EXPORT void setExtendedSize (triton::uint32 dstSize)
 Sets the extended size (in bits) after extension. More...
 
TRITON_EXPORT void setSubtracted (bool value)
 Sets subtracted flag. More...
 
TRITON_EXPORT ArmOperandPropertiesoperator= (const ArmOperandProperties &other)
 Copy an ArmOperandProperties. More...
 

Protected Attributes

triton::arch::arm::shift_e shiftType
 The shift type. More...
 
triton::uint32 shiftValueImmediate
 The shift value immediate. More...
 
triton::arch::register_e shiftValueRegister
 The shift value register. More...
 
triton::arch::arm::extend_e extendType
 The extend type. More...
 
triton::uint32 extendSize
 The extend size (in bits). More...
 
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. More...
 

Detailed Description

This class is used to represent specific properties of an Arm operand.

Definition at line 43 of file armOperandProperties.hpp.

Constructor & Destructor Documentation

◆ ArmOperandProperties() [1/2]

triton::arch::arm::ArmOperandProperties::ArmOperandProperties ( )

Constructor.

Definition at line 17 of file armOperandProperties.cpp.

◆ ArmOperandProperties() [2/2]

triton::arch::arm::ArmOperandProperties::ArmOperandProperties ( const ArmOperandProperties other)

Constructor by copy.

Definition at line 27 of file armOperandProperties.cpp.

Member Function Documentation

◆ getExtendSize()

triton::uint32 triton::arch::arm::ArmOperandProperties::getExtendSize ( void  ) const

Returns the size (in bits) of the extend.

Definition at line 68 of file armOperandProperties.cpp.

◆ getExtendType()

triton::arch::arm::extend_e triton::arch::arm::ArmOperandProperties::getExtendType ( void  ) const

Returns the type of the extend.

Definition at line 63 of file armOperandProperties.cpp.

◆ getShiftImmediate()

triton::uint32 triton::arch::arm::ArmOperandProperties::getShiftImmediate ( void  ) const

Returns the value of the shift immediate.

Definition at line 53 of file armOperandProperties.cpp.

◆ getShiftRegister()

triton::arch::register_e triton::arch::arm::ArmOperandProperties::getShiftRegister ( void  ) const

Returns the value of the shift register.

Definition at line 58 of file armOperandProperties.cpp.

◆ getShiftType()

triton::arch::arm::shift_e triton::arch::arm::ArmOperandProperties::getShiftType ( void  ) const

Returns the type of the shift.

Definition at line 48 of file armOperandProperties.cpp.

◆ isSubtracted()

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 73 of file armOperandProperties.cpp.

◆ operator=()

ArmOperandProperties & triton::arch::arm::ArmOperandProperties::operator= ( const ArmOperandProperties other)

Copy an ArmOperandProperties.

Definition at line 37 of file armOperandProperties.cpp.

◆ setExtendedSize()

void triton::arch::arm::ArmOperandProperties::setExtendedSize ( triton::uint32  dstSize)

Sets the extended size (in bits) after extension.

Definition at line 102 of file armOperandProperties.cpp.

◆ setExtendType()

void triton::arch::arm::ArmOperandProperties::setExtendType ( triton::arch::arm::extend_e  type)

Sets the type of the extend.

Definition at line 95 of file armOperandProperties.cpp.

◆ setShiftType()

void triton::arch::arm::ArmOperandProperties::setShiftType ( triton::arch::arm::shift_e  type)

Sets the type of the shift.

Definition at line 88 of file armOperandProperties.cpp.

◆ setShiftValue() [1/2]

void triton::arch::arm::ArmOperandProperties::setShiftValue ( triton::arch::register_e  reg)

Sets the value of the shift register.

Definition at line 83 of file armOperandProperties.cpp.

◆ setShiftValue() [2/2]

void triton::arch::arm::ArmOperandProperties::setShiftValue ( triton::uint32  imm)

Sets the value of the shift immediate.

Definition at line 78 of file armOperandProperties.cpp.

◆ setSubtracted()

void triton::arch::arm::ArmOperandProperties::setSubtracted ( bool  value)

Sets subtracted flag.

Definition at line 136 of file armOperandProperties.cpp.

Member Data Documentation

◆ extendSize

triton::uint32 triton::arch::arm::ArmOperandProperties::extendSize
protected

The extend size (in bits).

Definition at line 58 of file armOperandProperties.hpp.

◆ extendType

triton::arch::arm::extend_e triton::arch::arm::ArmOperandProperties::extendType
protected

The extend type.

Definition at line 55 of file armOperandProperties.hpp.

◆ shiftType

triton::arch::arm::shift_e triton::arch::arm::ArmOperandProperties::shiftType
protected

The shift type.

Definition at line 46 of file armOperandProperties.hpp.

◆ shiftValueImmediate

triton::uint32 triton::arch::arm::ArmOperandProperties::shiftValueImmediate
protected

The shift value immediate.

Definition at line 49 of file armOperandProperties.hpp.

◆ shiftValueRegister

triton::arch::register_e triton::arch::arm::ArmOperandProperties::shiftValueRegister
protected

The shift value register.

Definition at line 52 of file armOperandProperties.hpp.

◆ subtracted

bool triton::arch::arm::ArmOperandProperties::subtracted
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 61 of file armOperandProperties.hpp.


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