feat: add crash stack snapshots and context menu annotations

This commit is contained in:
daniel committed 2026-08-12 18:30:08 +02:00
1 parent 3ef98a9fd5
commit 7f2d4b693f
8 files changed
+71 -1

No files matched your search

+3
View File
@@ -11,6 +11,7 @@
namespace CrashReport {
static constexpr int MaxReports = 8;
static constexpr int StackSnapshotWords = 8;
struct Report {
int pid;
@@ -24,6 +25,8 @@ struct Report {
uint64_t codeSegment;
uint64_t flags;
uint64_t stackSegment;
uint64_t stackWords[StackSnapshotWords];
uint8_t stackWordCount;
// Page fault error code bits (vector 0xE / page fault only)
uint8_t pfPresent : 1;