pub unsafe extern "C" fn instr_reg_in_src(
instr: *mut instr_t,
reg: reg_id_t,
) -> bool_Expand description
Assumes that \p reg is a DR_REG_ constant. Returns true iff at least one of \p instr’s source operands references \p reg.
Returns false for multi-byte nops with a source operand using reg.
\note Use instr_reads_from_reg() to also consider addressing registers in destination operands.