Struct minidump::format::CONTEXT_X86 [−][src]
pub struct CONTEXT_X86 {}Show fields
pub context_flags: u32, pub dr0: u32, pub dr1: u32, pub dr2: u32, pub dr3: u32, pub dr6: u32, pub dr7: u32, pub float_save: FLOATING_SAVE_AREA_X86, pub gs: u32, pub fs: u32, pub es: u32, pub ds: u32, pub edi: u32, pub esi: u32, pub ebx: u32, pub edx: u32, pub ecx: u32, pub eax: u32, pub ebp: u32, pub eip: u32, pub cs: u32, pub eflags: u32, pub esp: u32, pub ss: u32, pub extended_registers: [u8; 512],
Expand description
An x86 CPU context
This struct matches the definition of CONTEXT
in WinNT.h for x86.
Fields
context_flags: u32
dr0: u32
dr1: u32
dr2: u32
dr3: u32
dr6: u32
dr7: u32
float_save: FLOATING_SAVE_AREA_X86
gs: u32
fs: u32
es: u32
ds: u32
edi: u32
esi: u32
ebx: u32
edx: u32
ecx: u32
eax: u32
ebp: u32
eip: u32
cs: u32
eflags: u32
esp: u32
ss: u32
extended_registers: [u8; 512]
Trait Implementations
impl Clone for CONTEXT_X86
[src]
impl Clone for CONTEXT_X86
[src]pub fn clone(&self) -> CONTEXT_X86
[src]
pub fn clone(&self) -> CONTEXT_X86
[src]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
impl CpuContext for CONTEXT_X86
[src]
impl CpuContext for CONTEXT_X86
[src]fn get_register_always(&self, reg: &str) -> u32
[src]
fn get_register_always(&self, reg: &str) -> u32
[src]Get a register value regardless of whether it is valid.
fn set_register(&mut self, reg: &str, val: Self::Register) -> Option<()>
[src]
fn set_register(&mut self, reg: &str, val: Self::Register) -> Option<()>
[src]Set a register value, if that register name it exists. Read more
fn memoize_register(&self, reg: &str) -> Option<&'static str>
[src]
fn memoize_register(&self, reg: &str) -> Option<&'static str>
[src]Gets a static version of the given register name, if possible.
fn stack_pointer_register_name(&self) -> &'static str
[src]
fn stack_pointer_register_name(&self) -> &'static str
[src]Gets the name of the stack pointer register (for use with get_register/set_register).
fn instruction_pointer_register_name(&self) -> &'static str
[src]
fn instruction_pointer_register_name(&self) -> &'static str
[src]Gets the name of the instruction pointer register (for use with get_register/set_register).
fn get_register(
&self,
reg: &str,
valid: &MinidumpContextValidity
) -> Option<Self::Register>
[src]
fn get_register(
&self,
reg: &str,
valid: &MinidumpContextValidity
) -> Option<Self::Register>
[src]Get a register value if it is valid. Read more
fn format_register(&self, reg: &str) -> String
[src]
fn format_register(&self, reg: &str) -> String
[src]Return a String containing the value of reg
formatted to its natural width.
impl Debug for CONTEXT_X86
[src]
impl Debug for CONTEXT_X86
[src]impl Default for CONTEXT_X86
[src]
impl Default for CONTEXT_X86
[src]pub fn default() -> CONTEXT_X86
[src]
pub fn default() -> CONTEXT_X86
[src]Return CONTEXT_X86 { context_flags: Default::default(), dr0: Default::default(), dr1: Default::default(), dr2: Default::default(), dr3: Default::default(), dr6: Default::default(), dr7: Default::default(), float_save: Default::default(), gs: Default::default(), fs: Default::default(), es: Default::default(), ds: Default::default(), edi: Default::default(), esi: Default::default(), ebx: Default::default(), edx: Default::default(), ecx: Default::default(), eax: Default::default(), ebp: Default::default(), eip: Default::default(), cs: Default::default(), eflags: Default::default(), esp: Default::default(), ss: Default::default(), extended_registers: [0 ; 512] }
impl<'a> TryFromCtx<'a, Endian, [u8]> for CONTEXT_X86 where
CONTEXT_X86: 'a,
[src]
impl<'a> TryFromCtx<'a, Endian, [u8]> for CONTEXT_X86 where
CONTEXT_X86: 'a,
[src]type Error = Error
pub fn try_from_ctx(
src: &'a [u8],
ctx: Endian
) -> Result<(CONTEXT_X86, usize), <CONTEXT_X86 as TryFromCtx<'a, Endian, [u8]>>::Error>
[src]
src: &'a [u8],
ctx: Endian
) -> Result<(CONTEXT_X86, usize), <CONTEXT_X86 as TryFromCtx<'a, Endian, [u8]>>::Error>
Auto Trait Implementations
impl RefUnwindSafe for CONTEXT_X86
impl Send for CONTEXT_X86
impl Sync for CONTEXT_X86
impl Unpin for CONTEXT_X86
impl UnwindSafe for CONTEXT_X86
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more