libTriton version 1.0 build 1592
|
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::SemanticsInterface * | aarch64Isa |
AArch64 ISA builder. | |
triton::arch::SemanticsInterface * | arm32Isa |
ARM32 ISA builder. | |
triton::arch::SemanticsInterface * | x86Isa |
x86 ISA builder. | |
The IR builder.
Definition at line 40 of file irBuilder.hpp.
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.
|
virtual |
Destructor.
Definition at line 62 of file irBuilder.cpp.
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.
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.
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.
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.
|
protected |
AArch64 ISA builder.
Definition at line 74 of file irBuilder.hpp.
|
protected |
ARM32 ISA builder.
Definition at line 77 of file irBuilder.hpp.
|
protected |
x86 ISA builder.
Definition at line 80 of file irBuilder.hpp.