libTriton version 1.0 build 1592
|
The x86Specifications class defines specifications about the x86 and x86_64 CPU. More...
#include <x86Specifications.hpp>
Public Member Functions | |
TRITON_EXPORT | x86Specifications (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::uint32 | capstoneInstructionToTritonInstruction (triton::uint32 id) const |
Converts a capstone's instruction id to a triton's instruction id. | |
TRITON_EXPORT triton::arch::x86::prefix_e | capstonePrefixToTritonPrefix (triton::uint32 id) const |
Converts a capstone's prefix id to a triton's prefix id. | |
Protected Attributes | |
std::unordered_map< triton::arch::register_e, const triton::arch::Register > | id2reg |
List of registers specification available for this architecture. | |
std::unordered_map< std::string, triton::arch::register_e > | name2id |
The x86Specifications class defines specifications about the x86 and x86_64 CPU.
Definition at line 46 of file x86Specifications.hpp.
triton::arch::x86::x86Specifications::x86Specifications | ( | triton::arch::architecture_e | arch | ) |
Constructor.
Definition at line 22 of file x86Specifications.cpp.
triton::uint32 triton::arch::x86::x86Specifications::capstoneInstructionToTritonInstruction | ( | triton::uint32 | id | ) | const |
Converts a capstone's instruction id to a triton's instruction id.
Definition at line 85 of file x86Specifications.cpp.
triton::arch::x86::prefix_e triton::arch::x86::x86Specifications::capstonePrefixToTritonPrefix | ( | triton::uint32 | id | ) | const |
Converts a capstone's prefix id to a triton's prefix id.
Definition at line 5277 of file x86Specifications.cpp.
triton::arch::register_e triton::arch::x86::x86Specifications::capstoneRegisterToTritonRegister | ( | triton::uint32 | id | ) | const |
Converts a capstone's register id to a triton's register id.
Definition at line 63 of file x86Specifications.cpp.
|
protected |
List of registers specification available for this architecture.
Definition at line 49 of file x86Specifications.hpp.
|
protected |
Definition at line 50 of file x86Specifications.hpp.