Skip to main content

instr_length

Function instr_length 

Source
pub unsafe extern "C" fn instr_length(
    drcontext: *mut c_void,
    instr: *mut instr_t,
) -> c_int
Expand description

Returns the length of \p instr. As a side effect, if instr_is_app(instr) and \p instr’s raw bits are invalid, encodes \p instr into bytes allocated with instr_allocate_raw_bits(), after which instr is marked as having valid raw bits.