8#ifndef TRITON_AARCH64SPECIFICATIONS_H
9#define TRITON_AARCH64SPECIFICATIONS_H
11#include <unordered_map>
57 std::unordered_map<triton::arch::register_e, const triton::arch::Register>
id2reg;
58 std::unordered_map<std::string, triton::arch::register_e> name2id;
This class is used to represent an instruction.
The AArch64Specifications class defines specifications about the AArch64 CPU.
TRITON_EXPORT triton::uint32 getMemoryOperandSpecialSize(triton::uint32 id) const
Returns memory access size if it is specified by instruction.
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::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::shift_e capstoneShiftToTritonShift(triton::uint32 id) const
Converts a capstone's shift id to a triton's shift id.
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::extend_e capstoneExtendToTritonExtend(triton::uint32 id) const
Converts a capstone's extend id to a triton's extend id.
TRITON_EXPORT triton::uint32 capstoneInstructionToTritonInstruction(triton::uint32 id) const
Converts a capstone's instruction id to a triton's instruction id.
std::unordered_map< triton::arch::register_e, const triton::arch::Register > id2reg
List of registers specification available for this architecture.
const triton::arch::Instruction nop
AArch64 NOP instruction.
instruction_e
The list of opcodes.
@ ID_INS_SQRSHRN2
sqrshrn2
@ ID_INS_SHA256H2
sha256h2
@ ID_INS_SQSHRUN2
sqshrun2
@ ID_INS_SQRSHRUN2
sqrshrun2
@ ID_INS_SHA256SU1
sha256su1
@ ID_INS_SHA256SU0
sha256su0
@ ID_INS_SQDMLAL2
sqdmlal2
@ ID_INS_SQRDMULH
sqrdmulh
@ ID_INS_SQDMLSL2
sqdmlsl2
@ ID_INS_LAST_ITEM
must be the last item
@ ID_INS_SQDMULL2
sqdmull2
@ ID_INS_SQRSHRUN
sqrshrun
@ ID_INS_UQRSHRN2
uqrshrn2
register_e
Types of register.
vas_e
Vector arrangement specifier.
condition_e
Types of condition.
std::uint32_t uint32
unisgned 32-bits