ThreadState

Enum ThreadState 

Source
pub enum ThreadState {
    I386 {
Show 16 fields __eax: u32, __ebx: u32, __ecx: u32, __edx: u32, __edi: u32, __esi: u32, __ebp: u32, __esp: u32, __ss: u32, __eflags: u32, __eip: u32, __cs: u32, __ds: u32, __es: u32, __fs: u32, __gs: u32,
}, X86_64 {
Show 21 fields __rax: u64, __rbx: u64, __rcx: u64, __rdx: u64, __rdi: u64, __rsi: u64, __rbp: u64, __rsp: u64, __r8: u64, __r9: u64, __r10: u64, __r11: u64, __r12: u64, __r13: u64, __r14: u64, __r15: u64, __rip: u64, __rflags: u64, __cs: u64, __fs: u64, __gs: u64,
}, Arm { __r: [u32; 13], __sp: u32, __lr: u32, __pc: u32, __cpsr: u32, }, Arm64 { __x: [u64; 29], __fp: u64, __lr: u64, __sp: u64, __pc: u64, __cpsr: u32, __pad: u32, }, PowerPC { __srr: [u32; 2], __r: [u32; 32], __ct: u32, __xer: u32, __lr: u32, __ctr: u32, __mq: u32, __vrsave: u32, }, PowerPC64 { __srr: [u64; 2], __r: [u64; 32], __cr: u32, __xer: u64, __lr: u64, __ctr: u64, __vrsave: u32, }, }

Variants§

§

I386

Fields

§__eax: u32
§__ebx: u32
§__ecx: u32
§__edx: u32
§__edi: u32
§__esi: u32
§__ebp: u32
§__esp: u32
§__ss: u32
§__eflags: u32
§__eip: u32
§__cs: u32
§__ds: u32
§__es: u32
§__fs: u32
§__gs: u32
§

X86_64

Fields

§__rax: u64
§__rbx: u64
§__rcx: u64
§__rdx: u64
§__rdi: u64
§__rsi: u64
§__rbp: u64
§__rsp: u64
§__r8: u64
§__r9: u64
§__r10: u64
§__r11: u64
§__r12: u64
§__r13: u64
§__r14: u64
§__r15: u64
§__rip: u64
§__rflags: u64
§__cs: u64
§__fs: u64
§__gs: u64
§

Arm

Fields

§__r: [u32; 13]

General purpose register r0-r12

§__sp: u32

Stack pointer r13

§__lr: u32

Link register r14

§__pc: u32

Program counter r15

§__cpsr: u32

Current program status register

§

Arm64

Fields

§__x: [u64; 29]

General purpose registers x0-x28

§__fp: u64

Frame pointer x29

§__lr: u64

Link register x30

§__sp: u64

Stack pointer x31

§__pc: u64

Program counter

§__cpsr: u32

Current program status register

§__pad: u32

Same size for 32-bit or 64-bit clients

§

PowerPC

Fields

§__srr: [u32; 2]
§__r: [u32; 32]
§__ct: u32
§__xer: u32
§__lr: u32
§__ctr: u32
§__mq: u32
§__vrsave: u32
§

PowerPC64

Fields

§__srr: [u64; 2]
§__r: [u64; 32]
§__cr: u32
§__xer: u64
§__lr: u64
§__ctr: u64
§__vrsave: u32

Trait Implementations§

Source§

impl Clone for ThreadState

Source§

fn clone(&self) -> ThreadState

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 Debug for ThreadState

Source§

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

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

impl PartialEq for ThreadState

Source§

fn eq(&self, other: &ThreadState) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ThreadState

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.