libTriton version 1.0 build 1590
Loading...
Searching...
No Matches
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.
 
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 ArmOperandPropertiesoperator= (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.
 

Detailed Description

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

Definition at line 45 of file armOperandProperties.hpp.

Constructor & Destructor Documentation

◆ ArmOperandProperties() [1/2]

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

Constructor.

Definition at line 18 of file armOperandProperties.cpp.

◆ ArmOperandProperties() [2/2]

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

Constructor by copy.

Definition at line 30 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 115 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 70 of file armOperandProperties.cpp.

◆ getShiftImmediate()

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

Returns the value of the shift immediate.

Definition at line 60 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 65 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 55 of file armOperandProperties.cpp.

◆ getVASName()

std::string triton::arch::arm::ArmOperandProperties::getVASName ( void  ) const

Returns the vector arrangement specifier string name.

Definition at line 85 of file armOperandProperties.cpp.

◆ getVASSize()

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

Returns the vector arrangement specifier size (64 or 128 bits).

Definition at line 100 of file armOperandProperties.cpp.

◆ getVASType()

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.

◆ getVectorIndex()

triton::sint32 triton::arch::arm::ArmOperandProperties::getVectorIndex ( void  ) const

Returns the vector index (-1 if irrelevant).

Definition at line 80 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 120 of file armOperandProperties.cpp.

◆ operator=()

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

Copy an ArmOperandProperties.

Definition at line 42 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 156 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 142 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 135 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 130 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 125 of file armOperandProperties.cpp.

◆ setSubtracted()

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

Sets subtracted flag.

Definition at line 190 of file armOperandProperties.cpp.

◆ setVASType()

void triton::arch::arm::ArmOperandProperties::setVASType ( triton::arch::arm::vas_e  type)

Sets the type of vector arrangement specifier.

Definition at line 149 of file armOperandProperties.cpp.

◆ setVectorIndex()

void triton::arch::arm::ArmOperandProperties::setVectorIndex ( triton::sint32  index)

Sets the vector index.

Definition at line 195 of file armOperandProperties.cpp.

Member Data Documentation

◆ extendSize

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

The extend size (in bits).

Definition at line 66 of file armOperandProperties.hpp.

◆ extendType

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

The extend type.

Definition at line 57 of file armOperandProperties.hpp.

◆ shiftType

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

The shift type.

Definition at line 48 of file armOperandProperties.hpp.

◆ shiftValueImmediate

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

The shift value immediate.

Definition at line 51 of file armOperandProperties.hpp.

◆ shiftValueRegister

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

The shift value register.

Definition at line 54 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 69 of file armOperandProperties.hpp.

◆ vasType

triton::arch::arm::vas_e triton::arch::arm::ArmOperandProperties::vasType
protected

Vector arrangement specifier.

Definition at line 60 of file armOperandProperties.hpp.

◆ vectorIndex

triton::sint32 triton::arch::arm::ArmOperandProperties::vectorIndex
protected

Vector index (-1 if irrelevant).

Definition at line 63 of file armOperandProperties.hpp.


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