Struct vex_sys::VexTranslateArgs[][src]

#[repr(C)]pub struct VexTranslateArgs {
    pub arch_guest: VexArch,
    pub archinfo_guest: VexArchInfo,
    pub arch_host: VexArch,
    pub archinfo_host: VexArchInfo,
    pub abiinfo_both: VexAbiInfo,
    pub callback_opaque: *mut c_void,
    pub guest_bytes: *const UChar,
    pub guest_bytes_addr: Addr,
    pub chase_into_ok: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: Addr) -> Bool>,
    pub guest_extents: *mut VexGuestExtents,
    pub host_bytes: *mut UChar,
    pub host_bytes_size: Int,
    pub host_bytes_used: *mut Int,
    pub instrument1: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB, arg3: *const VexGuestLayout, arg4: *const VexGuestExtents, arg5: *const VexArchInfo, gWordTy: IRType, hWordTy: IRType) -> *mut IRSB>,
    pub instrument2: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB, arg3: *const VexGuestLayout, arg4: *const VexGuestExtents, arg5: *const VexArchInfo, gWordTy: IRType, hWordTy: IRType) -> *mut IRSB>,
    pub finaltidy: Option<unsafe extern "C" fn(arg1: *mut IRSB) -> *mut IRSB>,
    pub needs_self_check: Option<unsafe extern "C" fn(arg1: *mut c_void, pxControl: *mut VexRegisterUpdates, arg2: *const VexGuestExtents) -> UInt>,
    pub preamble_function: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB) -> Bool>,
    pub traceflags: Int,
    pub sigill_diag: Bool,
    pub addProfInc: Bool,
    pub disp_cp_chain_me_to_slowEP: *const c_void,
    pub disp_cp_chain_me_to_fastEP: *const c_void,
    pub disp_cp_xindir: *const c_void,
    pub disp_cp_xassisted: *const c_void,
}

Fields

arch_guest: VexArcharchinfo_guest: VexArchInfoarch_host: VexArcharchinfo_host: VexArchInfoabiinfo_both: VexAbiInfocallback_opaque: *mut c_voidguest_bytes: *const UCharguest_bytes_addr: Addrchase_into_ok: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: Addr) -> Bool>guest_extents: *mut VexGuestExtentshost_bytes: *mut UCharhost_bytes_size: Inthost_bytes_used: *mut Intinstrument1: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB, arg3: *const VexGuestLayout, arg4: *const VexGuestExtents, arg5: *const VexArchInfo, gWordTy: IRType, hWordTy: IRType) -> *mut IRSB>instrument2: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB, arg3: *const VexGuestLayout, arg4: *const VexGuestExtents, arg5: *const VexArchInfo, gWordTy: IRType, hWordTy: IRType) -> *mut IRSB>finaltidy: Option<unsafe extern "C" fn(arg1: *mut IRSB) -> *mut IRSB>needs_self_check: Option<unsafe extern "C" fn(arg1: *mut c_void, pxControl: *mut VexRegisterUpdates, arg2: *const VexGuestExtents) -> UInt>preamble_function: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB) -> Bool>traceflags: Intsigill_diag: BooladdProfInc: Booldisp_cp_chain_me_to_slowEP: *const c_voiddisp_cp_chain_me_to_fastEP: *const c_voiddisp_cp_xindir: *const c_voiddisp_cp_xassisted: *const c_void

Trait Implementations

impl Clone for VexTranslateArgs[src]

impl Copy for VexTranslateArgs[src]

impl Debug for VexTranslateArgs[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.