Files
etaHEN/Source Code/include/backtrace.hpp
LM 03d016fd31 etaHEN Goes Open Source
etaHEN Goes Open Source

clean tmp files

....
2025-09-07 11:10:19 -04:00

15 lines
303 B
C++

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