Struct ThreadContextX64

Source
#[repr(C)]
pub struct ThreadContextX64 {
Show 76 fields pub p1_home: u64, pub p2_home: u64, pub p3_home: u64, pub p4_home: u64, pub p5_home: u64, pub p6_home: u64, pub context_flags: u32, pub mxcsr: u32, pub seg_cs: u16, pub seg_ds: u16, pub seg_es: u16, pub seg_fs: u16, pub seg_gs: u16, pub seg_ss: u16, pub eflags: u32, pub dr0: u64, pub dr1: u64, pub dr2: u64, pub dr3: u64, pub dr6: u64, pub dr7: u64, pub rax: u64, pub rcx: u64, pub rdx: u64, pub rbx: u64, pub rsp: u64, pub rbp: u64, pub rsi: u64, pub rdi: u64, pub r8: u64, pub r9: u64, pub r10: u64, pub r11: u64, pub r12: u64, pub r13: u64, pub r14: u64, pub r15: u64, pub rip: u64, pub control_word: u16, pub status_word: u16, pub tag_word: u8, pub reserved1: u8, pub error_opcode: u16, pub error_offset: u32, pub error_selector: u16, pub reserved2: u16, pub data_offset: u32, pub data_selector: u16, pub reserved3: u16, pub mxcsr2: u32, pub mxcsr_mask: u32, pub float_registers: [u128; 8], pub xmm0: u128, pub xmm1: u128, pub xmm2: u128, pub xmm3: u128, pub xmm4: u128, pub xmm5: u128, pub xmm6: u128, pub xmm7: u128, pub xmm8: u128, pub xmm9: u128, pub xmm10: u128, pub xmm11: u128, pub xmm12: u128, pub xmm13: u128, pub xmm14: u128, pub xmm15: u128, pub padding: [u8; 96], pub vector_registers: [u128; 26], pub vector_control: u64, pub debug_control: u64, pub last_branch_to_rip: u64, pub last_branch_from_rip: u64, pub last_exception_to_rip: u64, pub last_exception_from_rip: u64,
}
Expand description

The context of an Intel X64 thread.

Fields§

§p1_home: u64§p2_home: u64§p3_home: u64§p4_home: u64§p5_home: u64§p6_home: u64§context_flags: u32§mxcsr: u32§seg_cs: u16§seg_ds: u16§seg_es: u16§seg_fs: u16§seg_gs: u16§seg_ss: u16§eflags: u32§dr0: u64§dr1: u64§dr2: u64§dr3: u64§dr6: u64§dr7: u64§rax: u64§rcx: u64§rdx: u64§rbx: u64§rsp: u64§rbp: u64§rsi: u64§rdi: u64§r8: u64§r9: u64§r10: u64§r11: u64§r12: u64§r13: u64§r14: u64§r15: u64§rip: u64§control_word: u16§status_word: u16§tag_word: u8§reserved1: u8§error_opcode: u16§error_offset: u32§error_selector: u16§reserved2: u16§data_offset: u32§data_selector: u16§reserved3: u16§mxcsr2: u32§mxcsr_mask: u32§float_registers: [u128; 8]§xmm0: u128§xmm1: u128§xmm2: u128§xmm3: u128§xmm4: u128§xmm5: u128§xmm6: u128§xmm7: u128§xmm8: u128§xmm9: u128§xmm10: u128§xmm11: u128§xmm12: u128§xmm13: u128§xmm14: u128§xmm15: u128§padding: [u8; 96]§vector_registers: [u128; 26]§vector_control: u64§debug_control: u64§last_branch_to_rip: u64§last_branch_from_rip: u64§last_exception_to_rip: u64§last_exception_from_rip: u64

Trait Implementations§

Source§

impl Debug for ThreadContextX64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ThreadContextX64

Source§

fn default() -> Self

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

impl Display for ThreadContextX64

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

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> 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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. 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.