Skip to main content

instr_is_return

Function instr_is_return 

Source
pub unsafe extern "C" fn instr_is_return(instr: *mut instr_t) -> bool_
Expand description

Returns true iff \p instr’s opcode is OP_ret, OP_ret_far, or OP_iret on x86. On ARM, returns true iff \p instr reads DR_REG_LR and writes DR_REG_PC.