Skip to main content

instr_is_cti_short

Function instr_is_cti_short 

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

Returns true iff \p instr is a control transfer instruction that takes an 8-bit offset on x86 (OP_loop*, OP_jecxz, OP_jmp_short, or OP_jcc_short) or a small offset on ARM (OP_cbz, OP_cbnz, OP_b_short). / /** This routine does NOT try to decode an opcode in a Level 1 or Level 0 routine, and can thus be called on Level 0 routines. Levels are not exposed in the API anymore, however.