libTriton version 1.0 build 1590
Loading...
Searching...
No Matches
Namespaces | Macros
aarch64Specifications.cpp File Reference
#include <triton/aarch64Specifications.hpp>
#include <triton/architecture.hpp>
#include <triton/cpuSize.hpp>
#include <triton/exceptions.hpp>
#include <triton/externalLibs.hpp>
#include "triton/aarch64.spec"

Go to the source code of this file.

Namespaces

namespace  triton
 The Triton namespace.
 
namespace  triton::arch
 The Architecture namespace.
 
namespace  triton::arch::arm
 The ARM namespace.
 
namespace  triton::arch::arm::aarch64
 The aarch64 namespace.
 

Macros

#define REG_SPEC(UPPER_NAME, LOWER_NAME, AARCH64_UPPER, AARCH64_LOWER, AARCH64_PARENT, MUTABLE)
 
#define REG_SPEC_NO_CAPSTONE   REG_SPEC
 
#define SYS_REG_SPEC   REG_SPEC
 
#define REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5)
 
#define SYS_REG_SPEC(_1, _2, _3, _4, _5, _6)
 
#define REG_SPEC_NO_CAPSTONE(_1, _2, _3, _4, _5, _6)
 

Macro Definition Documentation

◆ REG_SPEC [1/2]

#define REG_SPEC (   UPPER_NAME,
  _1,
  _2,
  _3,
  _4,
  _5 
)
Value:
case triton::extlibs::capstone::ARM64_REG_##UPPER_NAME: \
tritonId = triton::arch::ID_REG_AARCH64_##UPPER_NAME; \
break;

◆ REG_SPEC [2/2]

#define REG_SPEC (   UPPER_NAME,
  LOWER_NAME,
  AARCH64_UPPER,
  AARCH64_LOWER,
  AARCH64_PARENT,
  MUTABLE 
)
Value:
id2reg.emplace(ID_REG_AARCH64_##UPPER_NAME, \
triton::arch::Register(triton::arch::ID_REG_AARCH64_##UPPER_NAME, \
#LOWER_NAME, \
triton::arch::ID_REG_AARCH64_##AARCH64_PARENT, \
AARCH64_UPPER, \
AARCH64_LOWER, \
MUTABLE) \
); \
name2id.emplace(#LOWER_NAME, ID_REG_AARCH64_##UPPER_NAME);
This class is used when an instruction has a register operand.
Definition register.hpp:44