Skip to main content

dr_restore_reg

Function dr_restore_reg 

Source
pub unsafe extern "C" fn dr_restore_reg(
    drcontext: *mut c_void,
    ilist: *mut instrlist_t,
    where_: *mut instr_t,
    reg: reg_id_t,
    slot: dr_spill_slot_t,
)
Expand description

Inserts into \p ilist prior to \p where meta-instruction(s) to restore the register \p reg from the spill slot \p slot. See dr_save_reg() for notes on lifetime and alternative access to spill slots.