DynamoRIO
dynamorio::drmemtrace::instr_summary_t Struct Referencefinal

#include <raw2trace.h>

Data Structures

struct  memref_summary_t
 

Public Member Functions

app_pc next_pc () const
 
app_pc pc () const
 
void set_mem_src_flags (size_t pos, bool use_remembered_base, bool remember_base)
 
void set_mem_dest_flags (size_t pos, bool use_remembered_base, bool remember_base)
 

Static Public Member Functions

static bool construct (void *dcontext, app_pc block_pc, DR_PARAM_INOUT app_pc *pc, app_pc orig_pc, DR_PARAM_OUT instr_summary_t *desc, uint verbosity=0)
 

Detailed Description

instr_summary_t is a compact encapsulation of the information needed by trace conversion from decoded instructions.

Member Function Documentation

◆ construct()

static bool dynamorio::drmemtrace::instr_summary_t::construct ( void *  dcontext,
app_pc  block_pc,
DR_PARAM_INOUT app_pc *  pc,
app_pc  orig_pc,
DR_PARAM_OUT instr_summary_t desc,
uint  verbosity = 0 
)
static

Populates a pre-allocated instr_summary_t description, from the instruction found at pc. Updates pc to the next instruction. Optionally logs translation details (using orig_pc and verbosity).

◆ next_pc()

app_pc dynamorio::drmemtrace::instr_summary_t::next_pc ( ) const
inline

Get the pc after the instruction that was used to produce this instr_summary_t.

◆ pc()

app_pc dynamorio::drmemtrace::instr_summary_t::pc ( ) const
inline

Get the pc of the start of this instrucion.

◆ set_mem_dest_flags()

void dynamorio::drmemtrace::instr_summary_t::set_mem_dest_flags ( size_t  pos,
bool  use_remembered_base,
bool  remember_base 
)
inline

Sets properties of the "pos"-th destination memory operand by OR-ing in the two boolean values.

◆ set_mem_src_flags()

void dynamorio::drmemtrace::instr_summary_t::set_mem_src_flags ( size_t  pos,
bool  use_remembered_base,
bool  remember_base 
)
inline

Sets properties of the "pos"-th source memory operand by OR-ing in the two boolean values.


The documentation for this struct was generated from the following file:
  • /home/runner/work/dynamorio/dynamorio/build_release-64/clients/include/drmemtrace/raw2trace.h