|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Normalized, architecture-independent snapshot of a trap context. More...
#include <exception_frame.hpp>
Public Attributes | |
| uint32_t | trap_level {0} |
Nested trap level (0 = primary/top fault). | |
| uintptr_t | trap_frame_addr {0} |
| Address of the raw architecture trap frame. | |
| uintptr_t | pc {0} |
| Faulting instruction pointer (RIP/PC/ELR). | |
| uintptr_t | sp {0} |
| Faulting stack pointer (RSP/SP). | |
| uintptr_t | fp {0} |
| Faulting frame pointer (RBP/FP/x29). | |
| uintptr_t | lr {0} |
Link register (AArch64/ARM32), or 0 on x86. | |
| uint64_t | vector_or_reason {0} |
| Vector number, trap error code, or exception syndrome register. | |
| bool | is_user_mode {false} |
true when the trap originated in user mode. | |
Normalized, architecture-independent snapshot of a trap context.
| uintptr_t microfmt::trap_context::fp {0} |
Faulting frame pointer (RBP/FP/x29).
| bool microfmt::trap_context::is_user_mode {false} |
true when the trap originated in user mode.
| uintptr_t microfmt::trap_context::lr {0} |
Link register (AArch64/ARM32), or 0 on x86.
| uintptr_t microfmt::trap_context::pc {0} |
Faulting instruction pointer (RIP/PC/ELR).
| uintptr_t microfmt::trap_context::sp {0} |
Faulting stack pointer (RSP/SP).
| uintptr_t microfmt::trap_context::trap_frame_addr {0} |
Address of the raw architecture trap frame.
| uint32_t microfmt::trap_context::trap_level {0} |
Nested trap level (0 = primary/top fault).
| uint64_t microfmt::trap_context::vector_or_reason {0} |
Vector number, trap error code, or exception syndrome register.