libTriton version 1.0 build 1592
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
triton::arch::IrBuilder Class Reference

The IR builder. More...

#include <irBuilder.hpp>

Public Member Functions

TRITON_EXPORT IrBuilder (triton::arch::Architecture *architecture, const triton::modes::SharedModes &modes, const triton::ast::SharedAstContext &astCtxt, triton::engines::symbolic::SymbolicEngine *symbolicEngine, triton::engines::taint::TaintEngine *taintEngine)
 Constructor.
 
virtual TRITON_EXPORT ~IrBuilder ()
 Destructor.
 
TRITON_EXPORT triton::arch::exception_e buildSemantics (triton::arch::Instruction &inst)
 Builds the semantics of the instruction. Returns triton::arch::NO_FAULT if succeed.
 
TRITON_EXPORT triton::arch::exception_e buildSemantics (triton::arch::BasicBlock &block)
 Builds the semantics of instructions in a block. Returns triton::arch::NO_FAULT if succeed.
 
TRITON_EXPORT void preIrInit (triton::arch::Instruction &inst)
 Everything which must be done before buiding the semantics.
 
TRITON_EXPORT void postIrInit (triton::arch::Instruction &inst)
 Everything which must be done after building the semantics.
 

Protected Attributes

triton::arch::SemanticsInterfaceaarch64Isa
 AArch64 ISA builder.
 
triton::arch::SemanticsInterfacearm32Isa
 ARM32 ISA builder.
 
triton::arch::SemanticsInterfacex86Isa
 x86 ISA builder.
 

Detailed Description

The IR builder.

Definition at line 40 of file irBuilder.hpp.

Constructor & Destructor Documentation

◆ IrBuilder()

triton::arch::IrBuilder::IrBuilder ( triton::arch::Architecture * architecture,
const triton::modes::SharedModes & modes,
const triton::ast::SharedAstContext & astCtxt,
triton::engines::symbolic::SymbolicEngine * symbolicEngine,
triton::engines::taint::TaintEngine * taintEngine )

Constructor.

Definition at line 27 of file irBuilder.cpp.

◆ ~IrBuilder()

triton::arch::IrBuilder::~IrBuilder ( )
virtual

Destructor.

Definition at line 62 of file irBuilder.cpp.

Member Function Documentation

◆ buildSemantics() [1/2]

triton::arch::exception_e triton::arch::IrBuilder::buildSemantics ( triton::arch::BasicBlock & block)

Builds the semantics of instructions in a block. Returns triton::arch::NO_FAULT if succeed.

Definition at line 123 of file irBuilder.cpp.

◆ buildSemantics() [2/2]

triton::arch::exception_e triton::arch::IrBuilder::buildSemantics ( triton::arch::Instruction & inst)

Builds the semantics of the instruction. Returns triton::arch::NO_FAULT if succeed.

Definition at line 72 of file irBuilder.cpp.

◆ postIrInit()

void triton::arch::IrBuilder::postIrInit ( triton::arch::Instruction & inst)

Everything which must be done after building the semantics.

Definition at line 160 of file irBuilder.cpp.

◆ preIrInit()

void triton::arch::IrBuilder::preIrInit ( triton::arch::Instruction & inst)

Everything which must be done before buiding the semantics.

Definition at line 142 of file irBuilder.cpp.

Member Data Documentation

◆ aarch64Isa

triton::arch::SemanticsInterface* triton::arch::IrBuilder::aarch64Isa
protected

AArch64 ISA builder.

Definition at line 74 of file irBuilder.hpp.

◆ arm32Isa

triton::arch::SemanticsInterface* triton::arch::IrBuilder::arm32Isa
protected

ARM32 ISA builder.

Definition at line 77 of file irBuilder.hpp.

◆ x86Isa

triton::arch::SemanticsInterface* triton::arch::IrBuilder::x86Isa
protected

x86 ISA builder.

Definition at line 80 of file irBuilder.hpp.


The documentation for this class was generated from the following files: