Files
onionHEN/source/include/backtrace.hpp
T
Hexwell aad2cdaabc refactor: rebrand OrionHEN to OnionHEN
Rename product, namespaces, libraries, paths, and assets from Orion/orion
to Onion/onion across the tree. TCP stack-shutdown magic is now ONIO
(0x4F4E494F) to match the corrected branding.
2026-07-15 18:23:16 +08:00

15 lines
307 B
C++

#pragma once
extern "C" {
#include <stdint.h>
}
struct Frame {
Frame *next;
uintptr_t addr;
};
static auto constexpr CRASH_LOG_PATH = "/data/OnionHEN/OnionHEN_crash.log";
const Frame *getFramePointer();
void printBacktraceForCrash();
void crash_log(const char *fmt, ...);
void printBacktraceForCrash();