pub const dr_emulate_options_t_DR_EMULATE_INSTR_ONLY: dr_emulate_options_t = 4;Expand description
Indicates that only the instruction fetch is being emulated differently. The operation of the instruction remains the same. Observational instrumentation should examine the original instruction (in #emulated_instr_t.instr) for instruction fetch purposes, but should examine the emulation sequence for data accesses (e.g., loads and stores for a memory address tracing tool). If this flag is not set, instrumentation should instrument the original instruction in every way and ignore the emulation sequence.
This flag is used for instruction refactorings that simplify instrumentation: e.g., drutil_expand_rep_string() and drx_expand_scatter_gather(). It is not used for true emulation of an instruction, for example, for replacing an instruction that is not supported by the current hardware with an alternative sequence of instructions.