[][src]Enum mach_object::ThreadState

pub enum ThreadState {
    I386 {
        __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 {
        __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 of I386

__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 of X86_64

__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 of Arm

__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 of Arm64

__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 of PowerPC

__srr: [u32; 2]__r: [u32; 32]__ct: u32__xer: u32__lr: u32__ctr: u32__mq: u32__vrsave: u32
PowerPC64

Fields of PowerPC64

__srr: [u64; 2]__r: [u64; 32]__cr: u32__xer: u64__lr: u64__ctr: u64__vrsave: u32

Trait Implementations

impl Clone for ThreadState[src]

impl PartialEq<ThreadState> for ThreadState[src]

impl Debug for ThreadState[src]

impl StructuralPartialEq for ThreadState[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]