struct CPUContext
Defined at line 376 of file ../../third_party/crashpad/src/snapshot/cpu_context.h
A context structure capable of carrying the context of any supported
CPU architecture.
Public Members
CPUArchitecture architecture
Public Methods
uint64_t InstructionPointer ()
Returns the instruction pointer value from the context structure.
This is a CPU architecture-independent method that is capable of
recovering the instruction pointer from any supported CPU architecture’s
context structure.
uint64_t StackPointer ()
Returns the stack pointer value from the context structure.
This is a CPU architecture-independent method that is capable of
recovering the stack pointer from any supported CPU architecture’s
context structure.
uint64_t ShadowStackPointer ()
Returns the shadow stack pointer value from the context structure.
This is a CPU architecture-independent method that is capable of
recovering the shadow stack pointer from any supported CPU architecture’s
context structure.
bool Is64Bit ()
Returns `true` if this context is for a 64-bit architecture.
bool HasShadowStack ()
Returns `true` if this context has an active shadow stack pointer.