Skip to main content

dr_restore_arith_flags

Function dr_restore_arith_flags 

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

Inserts into \p ilist prior to \p where meta-instruction(s) to restore the 6 arithmetic flags, assuming they were saved using dr_save_arith_flags() with slot \p slot and that xax holds the same value it did after the save.

\note X86-only

\deprecated This routine is equivalent to dr_restore_arith_flags_from_xax() followed by dr_restore_reg().