[−][src]Struct xori::arch::x86::cpux86::CPUStatex86
pub struct CPUStatex86 { pub address_size: u8, pub regs: RegisterState, pub segments: SegmentState, pub stack_address: u64, pub eflags: Flags, pub bound_regs: BoundRegisterState, pub fp_regs: [FPRegister; 8], pub mmx_regs: [MMXRegister; 16], pub xmm_regs: [XMMRegister; 16], pub ymm_regs: [YMMRegister; 16], pub zmm_regs: [ZMMRegister; 16], }
Fields
address_size: u8
regs: RegisterState
segments: SegmentState
stack_address: u64
eflags: Flags
bound_regs: BoundRegisterState
fp_regs: [FPRegister; 8]
mmx_regs: [MMXRegister; 16]
xmm_regs: [XMMRegister; 16]
ymm_regs: [YMMRegister; 16]
zmm_regs: [ZMMRegister; 16]
Methods
impl CPUStatex86
[src]
impl CPUStatex86
pub fn new() -> CPUStatex86
[src]
pub fn new() -> CPUStatex86
pub fn set_register(&mut self, _reg: &u8, value: i64)
[src]
pub fn set_register(&mut self, _reg: &u8, value: i64)
pub fn get_register(&mut self, _reg: &u8, _instr_size: usize) -> i64
[src]
pub fn get_register(&mut self, _reg: &u8, _instr_size: usize) -> i64
pub fn get_flag(&mut self, _flag: &EFlags) -> u8
[src]
pub fn get_flag(&mut self, _flag: &EFlags) -> u8
pub fn set_flag(&mut self, _flag: &EFlags, value: u8)
[src]
pub fn set_flag(&mut self, _flag: &EFlags, value: u8)
Trait Implementations
impl Debug for CPUStatex86
[src]
impl Debug for CPUStatex86
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CPUStatex86
[src]
impl Clone for CPUStatex86
fn clone(&self) -> CPUStatex86
[src]
fn clone(&self) -> CPUStatex86
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for CPUStatex86
impl Send for CPUStatex86
impl Sync for CPUStatex86
impl Sync for CPUStatex86
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
type Owned = T
fn to_owned(&self) -> T
[src]
fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut T)
[src]
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
🔬 This is a nightly-only experimental API. (
try_from
)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more