Skip to main content

Crate crash

Crate crash 

Source
Expand description

The XCR1 crash report format. Capture writes to caller-provided storage.

Structs§

BootGuard
Crash-loop counter in a separate retained slot. An invalid slot counts as zero.
Header
Limits
Record
Writer
Writes the payload in place. Dropping this writer before finish leaves the record invalid.

Enums§

Architecture
BuildIdentifier
BuildIdentifierKind
DecodeError
RecordKind
ResetReason

Constants§

BOOT_GUARD_SIZE
CRASH_LOOP_LIMIT
ESPRESSIF_RECORD_CAPACITY
FRAMES_TRUNCATED
HEADER_SIZE
LOG_SKIPPED_CONTENTION
MAGIC
MESSAGE_TRUNCATED
NATIVE_RECORD_CAPACITY
SECONDARY_CORE_UNHALTED
STACK_TRUNCATED
VERSION

Functions§

complete_reset_reason
Fill a missing reset reason and recompute the checksum of a valid record. Returns the total record length, which can be smaller than the slot.
invalidate
Clear the retained magic. The caller must exclude other slot users.