DynamoRIO
dynamorio::drmemtrace::speculator_tmpl_t< RecordType > Class Template Reference

#include <speculator.h>

Public Types

enum  speculator_flags_t {
  USE_NOPS = 0x01,
  LAST_FROM_TRACE = 0x02,
  AVERAGE_FROM_TRACE = 0x04,
  FROM_BINARY = 0x08
}
 

Public Member Functions

 speculator_tmpl_t (speculator_flags_t flags, int verbosity=0)
 

Detailed Description

template<typename RecordType>
class dynamorio::drmemtrace::speculator_tmpl_t< RecordType >

Provides instruction fetch and data access trace record generation for speculative paths that were not actually traced. Supports a variety of methods for obtaining speculative content.

Member Enumeration Documentation

◆ speculator_flags_t

Options controlling which speculation strategy to use.

Enumerator
USE_NOPS 

Specifies that speculation should supply just NOP instructions.

LAST_FROM_TRACE 

Specifies that speculation should supply the last-seen instruction and its data address.

AVERAGE_FROM_TRACE 

Specifies that speculation should supply an average (weighted, perhaps) of the last N observed instructions at the given PC.

FROM_BINARY 

Specifies that speculation should obtain the instruction from the binary. The address source is unspecified.

Constructor & Destructor Documentation

◆ speculator_tmpl_t()

template<typename RecordType >
dynamorio::drmemtrace::speculator_tmpl_t< RecordType >::speculator_tmpl_t ( speculator_flags_t  flags,
int  verbosity = 0 
)
inline

Default constructor.


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