libTriton  version 1.0 build 1532
Public Member Functions | Protected Attributes | List of all members
triton::arch::arm::arm32::Arm32Specifications Class Reference
Triton » Arch » Arm » Arm32

The Arm32Specifications class defines specifications about the Arm32 CPU. More...

#include <arm32Specifications.hpp>

Inheritance diagram for triton::arch::arm::arm32::Arm32Specifications:

Public Member Functions

TRITON_EXPORT Arm32Specifications (triton::arch::architecture_e)
 Constructor. More...
 
TRITON_EXPORT triton::arch::register_e capstoneRegisterToTritonRegister (triton::uint32 id) const
 Converts a capstone's register id to a triton's register id. More...
 
TRITON_EXPORT triton::arch::arm::shift_e capstoneShiftToTritonShift (triton::uint32 id) const
 Converts a capstone's shift id to a triton's shift id. More...
 
TRITON_EXPORT triton::arch::arm::condition_e capstoneConditionToTritonCondition (triton::uint32 id) const
 Converts a capstone's condition id to a triton's condition id. More...
 
TRITON_EXPORT triton::uint32 capstoneInstructionToTritonInstruction (triton::uint32 id) const
 Converts a capstone's instruction id to a triton's instruction id. More...
 

Protected Attributes

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

Detailed Description

The Arm32Specifications class defines specifications about the Arm32 CPU.

Definition at line 54 of file arm32Specifications.hpp.

Constructor & Destructor Documentation

◆ Arm32Specifications()

triton::arch::arm::arm32::Arm32Specifications::Arm32Specifications ( triton::arch::architecture_e  arch)

Constructor.

Definition at line 21 of file arm32Specifications.cpp.

Member Function Documentation

◆ capstoneConditionToTritonCondition()

triton::arch::arm::condition_e triton::arch::arm::arm32::Arm32Specifications::capstoneConditionToTritonCondition ( triton::uint32  id) const

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

Definition at line 121 of file arm32Specifications.cpp.

◆ capstoneInstructionToTritonInstruction()

triton::uint32 triton::arch::arm::arm32::Arm32Specifications::capstoneInstructionToTritonInstruction ( triton::uint32  id) const

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

Definition at line 198 of file arm32Specifications.cpp.

◆ capstoneRegisterToTritonRegister()

triton::arch::register_e triton::arch::arm::arm32::Arm32Specifications::capstoneRegisterToTritonRegister ( triton::uint32  id) const

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

Definition at line 42 of file arm32Specifications.cpp.

◆ capstoneShiftToTritonShift()

triton::arch::arm::shift_e triton::arch::arm::arm32::Arm32Specifications::capstoneShiftToTritonShift ( triton::uint32  id) const

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

Definition at line 64 of file arm32Specifications.cpp.

Member Data Documentation

◆ id2reg

std::unordered_map<triton::arch::register_e, const triton::arch::Register> triton::arch::arm::arm32::Arm32Specifications::id2reg
protected

List of registers specification available for this architecture.

Definition at line 57 of file arm32Specifications.hpp.

◆ name2id

std::unordered_map<std::string, triton::arch::register_e> triton::arch::arm::arm32::Arm32Specifications::name2id
protected

Definition at line 58 of file arm32Specifications.hpp.


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