[][src]Struct libudis86_sys::ud

#[repr(C)]
pub struct ud { pub inp_hook: Option<unsafe extern "C" fn(arg1: *mut ud) -> c_int>, pub inp_file: *mut FILE, pub inp_buf: *const u8, pub inp_buf_size: usize, pub inp_buf_index: usize, pub inp_curr: u8, pub inp_ctr: usize, pub inp_sess: [u8; 64], pub inp_end: c_int, pub inp_peek: c_int, pub translator: Option<unsafe extern "C" fn(arg1: *mut ud)>, pub insn_offset: u64, pub insn_hexcode: [c_char; 64], pub asm_buf: *mut c_char, pub asm_buf_size: usize, pub asm_buf_fill: usize, pub asm_buf_int: [c_char; 128], pub sym_resolver: Option<unsafe extern "C" fn(arg1: *mut ud, addr: u64, offset: *mut i64) -> *const c_char>, pub dis_mode: u8, pub pc: u64, pub vendor: u8, pub mnemonic: ud_mnemonic_code, pub operand: [ud_operand; 4], pub error: u8, pub _rex: u8, pub pfx_rex: u8, pub pfx_seg: u8, pub pfx_opr: u8, pub pfx_adr: u8, pub pfx_lock: u8, pub pfx_str: u8, pub pfx_rep: u8, pub pfx_repe: u8, pub pfx_repne: u8, pub opr_mode: u8, pub adr_mode: u8, pub br_far: u8, pub br_near: u8, pub have_modrm: u8, pub modrm: u8, pub modrm_offset: u8, pub vex_op: u8, pub vex_b1: u8, pub vex_b2: u8, pub primary_opcode: u8, pub user_opaque_data: *mut c_void, pub itab_entry: *mut (), pub le: *mut (), }

Fields

inp_hook: Option<unsafe extern "C" fn(arg1: *mut ud) -> c_int>inp_file: *mut FILEinp_buf: *const u8inp_buf_size: usizeinp_buf_index: usizeinp_curr: u8inp_ctr: usizeinp_sess: [u8; 64]inp_end: c_intinp_peek: c_inttranslator: Option<unsafe extern "C" fn(arg1: *mut ud)>insn_offset: u64insn_hexcode: [c_char; 64]asm_buf: *mut c_charasm_buf_size: usizeasm_buf_fill: usizeasm_buf_int: [c_char; 128]sym_resolver: Option<unsafe extern "C" fn(arg1: *mut ud, addr: u64, offset: *mut i64) -> *const c_char>dis_mode: u8pc: u64vendor: u8mnemonic: ud_mnemonic_codeoperand: [ud_operand; 4]error: u8_rex: u8pfx_rex: u8pfx_seg: u8pfx_opr: u8pfx_adr: u8pfx_lock: u8pfx_str: u8pfx_rep: u8pfx_repe: u8pfx_repne: u8opr_mode: u8adr_mode: u8br_far: u8br_near: u8have_modrm: u8modrm: u8modrm_offset: u8vex_op: u8vex_b1: u8vex_b2: u8primary_opcode: u8user_opaque_data: *mut c_voiditab_entry: *mut ()le: *mut ()

Auto Trait Implementations

impl !Send for ud

impl !Sync for ud

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]