mirror of
https://github.com/etaHEN/etaHEN.git
synced 2026-01-13 03:28:02 +08:00
15 lines
303 B
C++
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(); |