libTriton  version 0.7 build 1407
Modules | Namespaces | Classes | Enumerations | Functions | Variables
Arch
Collaboration diagram for Arch:

Modules

 Aarch64
 
 X86
 

Namespaces

 triton::arch::aarch64
 The aarch64 namespace.
 
 triton::arch::x86
 The x86 namespace.
 

Classes

class  triton::arch::AArch64OperandProperties
 This class is used to represent specific properties of an AArch64 operand. More...
 
class  triton::arch::Architecture
 The abstract architecture class. More...
 
class  triton::arch::BitsVector
 This class is used to deal with registers and memory as bits vector. More...
 
interface  triton::arch::CpuInterface
 This interface is used as abstract CPU interface. All CPU must use this interface. More...
 
class  triton::arch::Immediate
 This class is used to represent an immediate. More...
 
class  triton::arch::Instruction
 This class is used when to represent an instruction. More...
 
class  triton::arch::IrBuilder
 The IR builder. More...
 
class  triton::arch::MemoryAccess
 This class is used to represent a memory access. More...
 
interface  triton::arch::OperandWrapper
 This class is used as operand wrapper. More...
 
class  triton::arch::Register
 This class is used when an instruction has a register operand. More...
 
interface  triton::arch::SemanticsInterface
 This interface is used as abstract semantics interface. All ISA semantics must use this interface. More...
 
class  triton::arch::ShortcutRegister
 This is used as a shortcut to access to registers. More...
 

Enumerations

enum  triton::arch::architecture_e { triton::arch::ARCH_INVALID = 0, triton::arch::ARCH_AARCH64, triton::arch::ARCH_X86, triton::arch::ARCH_X86_64 }
 
enum  triton::arch::endianness_e { triton::arch::LE_ENDIANNESS, triton::arch::BE_ENDIANNESS }
 
enum  triton::arch::operand_e { triton::arch::OP_INVALID = 0, triton::arch::OP_IMM, triton::arch::OP_MEM, triton::arch::OP_REG }
 
enum  triton::arch::register_e { triton::arch::ID_REG_INVALID = 0, triton::arch::REG_SPEC, triton::arch::REG_SPEC }
 Types of register. More...
 

Functions

std::ostream & triton::arch::operator<< (std::ostream &stream, const BitsVector &bv)
 Displays a BitsVector.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const BitsVector *bv)
 Displays a BitsVector.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const Immediate &imm)
 Displays an Immediate.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const Immediate *imm)
 Displays an Immediate.
 
bool triton::arch::operator== (const Immediate &imm1, const Immediate &imm2)
 Compares two Immediate.
 
bool triton::arch::operator!= (const Immediate &imm1, const Immediate &imm2)
 Compares two Immediate.
 
bool triton::arch::operator< (const Immediate &imm1, const Immediate &imm2)
 Compares two Immediate (needed for std::map)
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const Instruction &inst)
 Displays an Instruction.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const Instruction *inst)
 Displays an Instruction.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const MemoryAccess &mem)
 Displays an MemoryAccess.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const MemoryAccess *mem)
 Displays an MemoryAccess.
 
bool triton::arch::operator== (const MemoryAccess &mem1, const MemoryAccess &mem2)
 Compares two MemoryAccess.
 
bool triton::arch::operator!= (const MemoryAccess &mem1, const MemoryAccess &mem2)
 Compares two MemoryAccess.
 
bool triton::arch::operator< (const MemoryAccess &mem1, const MemoryAccess &mem2)
 Compares two MemoryAccess (needed for std::map)
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const triton::arch::OperandWrapper &op)
 Displays a OperandWrapper according to the concrete type.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const triton::arch::OperandWrapper *op)
 Displays a OperandWrapper according to the concrete type.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const Register &reg)
 Displays a Register.
 
std::ostream & triton::arch::operator<< (std::ostream &stream, const Register *reg)
 Displays a Register.
 
bool triton::arch::operator< (const Register &reg1, const Register &reg2)
 Compares two Register.
 

Variables

const bool triton::arch::FORCE_MEMORY_INITIALIZATION = true
 Defines the force memory initialization constant.
 

Detailed Description

Enumeration Type Documentation

◆ architecture_e

Types of architecture

Enumerator
ARCH_INVALID 

Invalid architecture.

ARCH_AARCH64 

AArch64 architecture.

ARCH_X86 

X86 architecture.

ARCH_X86_64 

X86_64 architecture.

Definition at line 32 of file archEnums.hpp.

◆ endianness_e

Types of endianness

Enumerator
LE_ENDIANNESS 

Little endian.

BE_ENDIANNESS 

Big endian.

Definition at line 40 of file archEnums.hpp.

◆ operand_e

Types of operand

Enumerator
OP_INVALID 

invalid operand

OP_IMM 

immediate operand

OP_MEM 

memory operand

OP_REG 

register operand

Definition at line 46 of file archEnums.hpp.

◆ register_e

Types of register.

Enumerator
ID_REG_INVALID 

invalid = 0

REG_SPEC 

must be the last item

REG_SPEC 

must be the last item

Definition at line 54 of file archEnums.hpp.