mirror of
https://github.com/aydencharles/onionHEN.git
synced 2026-10-22 11:53:07 -05:00
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.
15 lines
307 B
C++
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(); |