libTriton version 1.0 build 1592
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
triton::arch::arm::aarch64::AArch64Specifications Class Reference

The AArch64Specifications class defines specifications about the AArch64 CPU. More...

#include <aarch64Specifications.hpp>

Inheritance diagram for triton::arch::arm::aarch64::AArch64Specifications:

Public Member Functions

TRITON_EXPORT AArch64Specifications (triton::arch::architecture_e)
 Constructor.
 
TRITON_EXPORT triton::arch::register_e capstoneRegisterToTritonRegister (triton::uint32 id) const
 Converts a capstone's register id to a triton's register id.
 
TRITON_EXPORT triton::arch::arm::shift_e capstoneShiftToTritonShift (triton::uint32 id) const
 Converts a capstone's shift id to a triton's shift id.
 
TRITON_EXPORT triton::arch::arm::extend_e capstoneExtendToTritonExtend (triton::uint32 id) const
 Converts a capstone's extend id to a triton's extend id.
 
TRITON_EXPORT triton::arch::arm::condition_e capstoneConditionToTritonCondition (triton::uint32 id) const
 Converts a capstone's condition id to a triton's condition id.
 
TRITON_EXPORT triton::arch::arm::vas_e capstoneVASToTritonVAS (triton::uint32 id) const
 Converts a capstone's vas id to a triton's vas id.
 
TRITON_EXPORT triton::uint32 capstoneInstructionToTritonInstruction (triton::uint32 id) const
 Converts a capstone's instruction id to a triton's instruction id.
 
TRITON_EXPORT triton::uint32 getMemoryOperandSpecialSize (triton::uint32 id) const
 Returns memory access size if it is specified by instruction.
 

Protected Attributes

std::unordered_map< triton::arch::register_e, const triton::arch::Registerid2reg
 List of registers specification available for this architecture.
 
std::unordered_map< std::string, triton::arch::register_ename2id
 

Detailed Description

The AArch64Specifications class defines specifications about the AArch64 CPU.

Definition at line 54 of file aarch64Specifications.hpp.

Constructor & Destructor Documentation

◆ AArch64Specifications()

triton::arch::arm::aarch64::AArch64Specifications::AArch64Specifications ( triton::arch::architecture_e arch)

Constructor.

Definition at line 21 of file aarch64Specifications.cpp.

Member Function Documentation

◆ capstoneConditionToTritonCondition()

triton::arch::arm::condition_e triton::arch::arm::aarch64::AArch64Specifications::capstoneConditionToTritonCondition ( triton::uint32 id) const

Converts a capstone's condition id to a triton's condition id.

Definition at line 236 of file aarch64Specifications.cpp.

◆ capstoneExtendToTritonExtend()

triton::arch::arm::extend_e triton::arch::arm::aarch64::AArch64Specifications::capstoneExtendToTritonExtend ( triton::uint32 id) const

Converts a capstone's extend id to a triton's extend id.

Definition at line 106 of file aarch64Specifications.cpp.

◆ capstoneInstructionToTritonInstruction()

triton::uint32 triton::arch::arm::aarch64::AArch64Specifications::capstoneInstructionToTritonInstruction ( triton::uint32 id) const

Converts a capstone's instruction id to a triton's instruction id.

Definition at line 313 of file aarch64Specifications.cpp.

◆ capstoneRegisterToTritonRegister()

triton::arch::register_e triton::arch::arm::aarch64::AArch64Specifications::capstoneRegisterToTritonRegister ( triton::uint32 id) const

Converts a capstone's register id to a triton's register id.

Definition at line 43 of file aarch64Specifications.cpp.

◆ capstoneShiftToTritonShift()

triton::arch::arm::shift_e triton::arch::arm::aarch64::AArch64Specifications::capstoneShiftToTritonShift ( triton::uint32 id) const

Converts a capstone's shift id to a triton's shift id.

Definition at line 73 of file aarch64Specifications.cpp.

◆ capstoneVASToTritonVAS()

triton::arch::arm::vas_e triton::arch::arm::aarch64::AArch64Specifications::capstoneVASToTritonVAS ( triton::uint32 id) const

Converts a capstone's vas id to a triton's vas id.

Definition at line 155 of file aarch64Specifications.cpp.

◆ getMemoryOperandSpecialSize()

triton::uint32 triton::arch::arm::aarch64::AArch64Specifications::getMemoryOperandSpecialSize ( triton::uint32 id) const

Returns memory access size if it is specified by instruction.

Definition at line 2166 of file aarch64Specifications.cpp.

Member Data Documentation

◆ id2reg

std::unordered_map<triton::arch::register_e, const triton::arch::Register> triton::arch::arm::aarch64::AArch64Specifications::id2reg
protected

List of registers specification available for this architecture.

Definition at line 57 of file aarch64Specifications.hpp.

◆ name2id

std::unordered_map<std::string, triton::arch::register_e> triton::arch::arm::aarch64::AArch64Specifications::name2id
protected

Definition at line 58 of file aarch64Specifications.hpp.


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