Skip to main content

instr_set_target

Function instr_set_target 

Source
pub unsafe extern "C" fn instr_set_target(
    cti_instr: *mut instr_t,
    target: opnd_t,
)
Expand description

Assumes that \p cti_instr is a control transfer instruction. Sets the first source operand of \p cti_instr to be \p target. Also calls instr_set_raw_bits_valid(\p instr, false) and instr_set_operands_valid(\p instr, true).