libTriton version 1.0 build 1592
Loading...
Searching...
No Matches
Namespaces | Macros
arm32Specifications.cpp File Reference
#include <triton/arm32Specifications.hpp>
#include <triton/architecture.hpp>
#include <triton/cpuSize.hpp>
#include <triton/exceptions.hpp>
#include <triton/externalLibs.hpp>
#include "triton/arm32.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::arm32
 The arm32 namespace.
 

Macros

#define REG_SPEC(UPPER_NAME, LOWER_NAME, ARM32_UPPER, ARM32_LOWER, ARM32_PARENT, MUTABLE)
 
#define REG_SPEC_NO_CAPSTONE   REG_SPEC
 
#define REG_SPEC(UPPER_NAME, _1, _2, _3, _4, _5)
 
#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::ARM_REG_##UPPER_NAME: \
tritonId = triton::arch::ID_REG_ARM32_##UPPER_NAME; \
break;

◆ REG_SPEC [2/2]

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