Struct VexTranslateArgs

Source
#[repr(C)]
pub struct VexTranslateArgs {
Show 25 fields 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: *mut UChar, pub guest_bytes_addr: Addr64, pub chase_into_ok: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: Addr64) -> 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: *mut VexGuestLayout, arg4: *mut VexGuestExtents, arg5: *mut VexArchInfo, gWordTy: IRType, hWordTy: IRType) -> *mut IRSB>, pub instrument2: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB, arg3: *mut VexGuestLayout, arg4: *mut VexGuestExtents, arg5: *mut 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, arg2: *mut 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: *mut c_void, pub disp_cp_chain_me_to_fastEP: *mut c_void, pub disp_cp_xindir: *mut c_void, pub disp_cp_xassisted: *mut c_void,
}

Fields§

§arch_guest: VexArch§archinfo_guest: VexArchInfo§arch_host: VexArch§archinfo_host: VexArchInfo§abiinfo_both: VexAbiInfo§callback_opaque: *mut c_void§guest_bytes: *mut UChar§guest_bytes_addr: Addr64§chase_into_ok: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: Addr64) -> Bool>§guest_extents: *mut VexGuestExtents§host_bytes: *mut UChar§host_bytes_size: Int§host_bytes_used: *mut Int§instrument1: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB, arg3: *mut VexGuestLayout, arg4: *mut VexGuestExtents, arg5: *mut VexArchInfo, gWordTy: IRType, hWordTy: IRType) -> *mut IRSB>§instrument2: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB, arg3: *mut VexGuestLayout, arg4: *mut VexGuestExtents, arg5: *mut 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, arg2: *mut VexGuestExtents) -> UInt>§preamble_function: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut IRSB) -> Bool>§traceflags: Int§sigill_diag: Bool§addProfInc: Bool§disp_cp_chain_me_to_slowEP: *mut c_void§disp_cp_chain_me_to_fastEP: *mut c_void§disp_cp_xindir: *mut c_void§disp_cp_xassisted: *mut c_void

Trait Implementations§

Source§

impl Clone for VexTranslateArgs

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for VexTranslateArgs

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for VexTranslateArgs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.