[][src]Struct ilhook::x64::Registers

#[repr(C)]
pub struct Registers {
    pub xmm0: u128,
    pub xmm1: u128,
    pub xmm2: u128,
    pub xmm3: u128,
    pub r15: u64,
    pub r14: u64,
    pub r13: u64,
    pub r12: u64,
    pub r11: u64,
    pub r10: u64,
    pub r9: u64,
    pub r8: u64,
    pub rbp: u64,
    pub rsp: u64,
    pub rdi: u64,
    pub rsi: u64,
    pub rdx: u64,
    pub rcx: u64,
    pub rbx: u64,
    pub rflags: u64,
    pub rax: u64,
}

The common registers.

Fields

xmm0: u128

The xmm0 register

xmm1: u128

The xmm1 register

xmm2: u128

The xmm2 register

xmm3: u128

The xmm3 register

r15: u64

The r15 register

r14: u64

The r14 register

r13: u64

The r13 register

r12: u64

The r12 register

r11: u64

The r11 register

r10: u64

The r10 register

r9: u64

The r9 register

r8: u64

The r8 register

rbp: u64

The rbp register

rsp: u64

The rsp register

rdi: u64

The rdi register

rsi: u64

The rsi register

rdx: u64

The rdx register

rcx: u64

The rcx register

rbx: u64

The rbx register

rflags: u64

The flags register

rax: u64

The rax register

Methods

impl Registers[src]

pub unsafe fn get_stack(&self, cnt: usize) -> u64[src]

Get the value by index.

Arguments

  • cnt - The index of the arguments.

Safety

Process may crash if register rsp does not point to a valid stack.

Trait Implementations

impl Clone for Registers[src]

impl Debug for Registers[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.