instr_remove_srcs

Function instr_remove_srcs 

Source
pub unsafe extern "C" fn instr_remove_srcs(
    drcontext: *mut c_void,
    instr: *mut instr_t,
    start: uint,
    end: uint,
)
Expand description

Removes \p instr’s source operands from position \p start up to but not including position \p end (so pass n,n+1 to remove just position n). Shifts all subsequent source operands (if any) down in the operand array. Also calls instr_set_raw_bits_valid(\p instr, false) and instr_set_operands_valid(\p instr, true).