Skip to main content

instr_convert_to_isa_regdeps

Function instr_convert_to_isa_regdeps 

Source
pub unsafe extern "C" fn instr_convert_to_isa_regdeps(
    drcontext: *mut c_void,
    instr_real_isa: *mut instr_t,
    instr_regdeps_isa: *mut instr_t,
)
Expand description

Converts a real ISA (e.g., #DR_ISA_AMD64) instruction \p instr_real_isa into a #DR_ISA_REGDEPS instruction and stores it into \p instr_regdeps_isa. Assumes \p instr_regdeps_isa has been allocated by the caller (e.g., using instr_create()). Assumes \p instr_real_isa is a fully-decoded or synthesized instruction of a real ISA with valid operand information. \note \p instr_regdeps_isa will contain only the information of a #DR_ISA_REGDEPS synthetic instruction.