typedef struct { uint8_t flags; // State (registers filled, error) uintptr_t rip, rsp, rbp, rbx; // Registers' values } unwind_context_t;