blob: 4d8a59cedc3973c9667bb7bb3d5ab8b1815b0cad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
void InitialiseCrashHandler();
void RemoveCrashHandler();
struct BacktraceModule
{
std::string name;
std::string relativeAddress;
std::string address;
};
struct ExceptionLog
{
std::string cause;
HMODULE crashedModule;
EXCEPTION_RECORD exceptionRecord;
CONTEXT contextRecord;
std::vector<BacktraceModule> trace;
std::vector<std::string> registerDump;
std::string runtimeInfo;
int longestModuleNameLength;
int longestRelativeAddressLength;
};
|