[][src]Function libipt_sys::pt_qry_indirect_branch

pub unsafe extern "C" fn pt_qry_indirect_branch(
    decoder: *mut pt_query_decoder,
    ip: *mut u64
) -> c_int

Get the next indirect branch destination.

On success, provides the linear destination address of the next indirect branch in @ip and updates @decoder.

Returns a non-negative pt_status_flag bit-vector on success, a negative error code otherwise.

Returns -pte_bad_opc if an unknown packet is encountered. Returns -pte_bad_packet if an unknown packet payload is encountered. Returns -pte_bad_query if no indirect branch is found. Returns -pte_eos if decoding reached the end of the Intel PT buffer. Returns -pte_invalid if @decoder or @ip is NULL. Returns -pte_nosync if @decoder is out of sync.