TEMU  4.4
The Terma Emulator
temu_InstrumenterIface Struct Reference

#include </builds/termade/temu/temu/include/temu-c/EmulatorManager/Instrumenter.h>

Data Fields

int(* beginBlock )(void *Obj, uint64_t VA, uint64_t PA)
 Called on start of a block. More...
 
int(* endBlock )(void *Obj, uint64_t VA, uint64_t PA)
 Called at the end of a block. More...
 
int(* beginInstr )(void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr, uint32_t Flags)
 Called when instruction is started. More...
 
int(* endInstr )(void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr, uint32_t Flags, int Arm)
 

Detailed Description

Binary translation instrumentation interface

Field Documentation

◆ beginBlock

int(* temu_InstrumenterIface::beginBlock) (void *Obj, uint64_t VA, uint64_t PA)

Called on start of a block.

◆ beginInstr

int(* temu_InstrumenterIface::beginInstr) (void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr, uint32_t Flags)

Called when instruction is started.

◆ endBlock

int(* temu_InstrumenterIface::endBlock) (void *Obj, uint64_t VA, uint64_t PA)

Called at the end of a block.

◆ endInstr

int(* temu_InstrumenterIface::endInstr) (void *Obj, uint64_t VA, uint64_t PA, uint32_t Instr, uint32_t Flags, int Arm)

Called when instruction is finished. Arm: 0 = normal / not taken branch. 1 = taken conditional instruction.


The documentation for this struct was generated from the following file: