Files
onionHEN/source/include/backtrace.hpp
T
Hexwell d28f4e3eb1 chore: rebrand runtime paths and identifiers to OrionHEN
Rename remaining etaHEN symbols, log prefixes, on-disk paths, plugin
magic, process names, and copyright headers across bootstrapper, daemons,
shellui, and util without keeping legacy aliases.
2026-07-10 13:06:58 +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/OrionHEN/OrionHEN_crash.log";
const Frame *getFramePointer();
void printBacktraceForCrash();
void crash_log(const char *fmt, ...);
void printBacktraceForCrash();