#[repr(C)]pub struct Context {}Expand description
Fields§
§rflags: u64The rflags register.
rax: u64The rax register.
rbx: u64The rbx register.
rcx: u64The rcx register.
rdx: u64The rdx register.
rsi: u64The rsi register.
rdi: u64The rdi register.
rbp: u64The rbp register.
rsp: u64The stack pointer at the injection site.
In modify, a changed rsp only takes effect along with a changed
rip; otherwise the original code resumes on its own stack.
r8: u64The r8 register.
r9: u64The r9 register.
r10: u64The r10 register.
r11: u64The r11 register.
r12: u64The r12 register.
r13: u64The r13 register.
r14: u64The r14 register.
r15: u64The r15 register.
rip: u64The address of the injection site, the patched instruction.
In modify, setting it to another address jumps there with the (maybe
changed) rsp, and the displaced instructions don’t run.
xmm: [Xmm; 16]The SSE registers xmm0–xmm15.
Trait Implementations§
impl Copy for Context
impl Eq for Context
impl StructuralPartialEq for Context
Auto Trait Implementations§
impl Freeze for Context
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnsafeUnpin for Context
impl UnwindSafe for Context
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more