libTriton version 1.0 build 1592
Loading...
Searching...
No Matches
aarch64Specifications.hpp
Go to the documentation of this file.
1
2/*
3** Copyright (C) - Triton
4**
5** This program is under the terms of the Apache License 2.0.
6*/
7
8#ifndef TRITON_AARCH64SPECIFICATIONS_H
9#define TRITON_AARCH64SPECIFICATIONS_H
10
11#include <unordered_map>
12#include <string>
13
14#include <triton/archEnums.hpp>
16#include <triton/dllexport.hpp>
17#include <triton/register.hpp>
18
19
20
22namespace triton {
29 namespace arch {
37 namespace arm {
45 namespace aarch64 {
53
55 protected:
57 std::unordered_map<triton::arch::register_e, const triton::arch::Register> id2reg;
58 std::unordered_map<std::string, triton::arch::register_e> name2id;
59
60 public:
63
66
69
72
75
78
81
84 };
85
88
508
509 // Alias
545
546 /* Must be the last item */
548 };
549
551 };
553 };
555 };
557};
558
559#endif /* TRITON_AARCH64SPECIFICATIONS_H */
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.
@ ID_INS_LAST_ITEM
must be the last item
register_e
Types of register.
Definition archEnums.hpp:68
shift_e
Types of shift.
vas_e
Vector arrangement specifier.
extend_e
Types of extend.
condition_e
Types of condition.
std::uint32_t uint32
unisgned 32-bits
The Triton namespace.