SafetyHook: safetyhook::Context64 Struct Reference

SafetyHook

Loading...
Searching...
No Matches
Public Attributes | List of all members
safetyhook::Context64 Struct Reference

Context structure for 64-bit MidHook. More...

`#include <context.hpp>`

## Public Attributes
Xmm | xmm0
Xmm | xmm1
Xmm | xmm2
Xmm | xmm3
Xmm | xmm4
Xmm | xmm5
Xmm | xmm6
Xmm | xmm7
Xmm | xmm8
Xmm | xmm9
Xmm | xmm10
Xmm | xmm11
Xmm | xmm12
Xmm | xmm13
Xmm | xmm14
Xmm | xmm15
uintptr_t | rflags
uintptr_t | r15
uintptr_t | r14
uintptr_t | r13
uintptr_t | r12
uintptr_t | r11
uintptr_t | r10
uintptr_t | r9
uintptr_t | r8
uintptr_t | rdi
uintptr_t | rsi
uintptr_t | rdx
uintptr_t | rcx
uintptr_t | rbx
uintptr_t | rax
uintptr_t | rbp
uintptr_t | rsp
uintptr_t | trampoline_rsp
uintptr_t | rip

## Detailed Description

Context structure for 64-bit MidHook.

This structure is used to pass the context of the hooked function to the destination allowing full access to the 64-bit registers at the moment the hook is called.

Note
  rip will point to a trampoline containing the replaced instruction(s).
  rsp is read-only. Modifying it will have no effect. Use trampoline_rsp to modify rsp if needed but make sure the top of the stack is the rip you want to resume at.

The documentation for this struct was generated from the following file:

- C:/M/B/src/safetyhook-0.6.5/include/safetyhook/context.hpp