DynamoRIO
dynamorio::drmemtrace::ir2trace_t Class Reference

#include <ir2trace.h>

Static Public Member Functions

static ir2trace_convert_status_t convert (DR_PARAM_IN drir_t *drir, DR_PARAM_INOUT std::vector< trace_entry_t > &trace, DR_PARAM_IN int verbosity=0)
 
static ir2trace_convert_status_t convert (DR_PARAM_IN drir_t *drir, DR_PARAM_INOUT std::vector< trace_entry_t > &trace, DR_PARAM_IN int verbosity=0)
 

Detailed Description

ir2trace_t is a class that can convert DynamoRIO's IR format to trace entries.

Member Function Documentation

◆ convert() [1/2]

static ir2trace_convert_status_t dynamorio::drmemtrace::ir2trace_t::convert ( DR_PARAM_IN drir_t *  drir,
DR_PARAM_INOUT std::vector< trace_entry_t > &  trace,
DR_PARAM_IN int  verbosity = 0 
)
static

Converts DynamoRIO's IR format to trace entries.

Parameters
drirDynamoRIO's IR format.
traceThe converted trace entries.
verbosityThe verbosity level for notifications. If set to 0, only error logs are printed. If set to 1, all logs are printed. Default value is 0.
Returns
ir2trace_convert_status_t If the conversion is successful, the function returns IR2TRACE_CONV_SUCCESS. Otherwise, the function returns the corresponding error code.

◆ convert() [2/2]

static ir2trace_convert_status_t dynamorio::drmemtrace::ir2trace_t::convert ( DR_PARAM_IN drir_t *  drir,
DR_PARAM_INOUT std::vector< trace_entry_t > &  trace,
DR_PARAM_IN int  verbosity = 0 
)
static

Converts DynamoRIO's IR format to trace entries.

Parameters
drirDynamoRIO's IR format.
traceThe converted trace entries.
verbosityThe verbosity level for notifications. If set to 0, only error logs are printed. If set to 1, all logs are printed. Default value is 0.
Returns
ir2trace_convert_status_t If the conversion is successful, the function returns IR2TRACE_CONV_SUCCESS. Otherwise, the function returns the corresponding error code.

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