aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/crashhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'NorthstarDLL/crashhandler.h')
-rw-r--r--NorthstarDLL/crashhandler.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/NorthstarDLL/crashhandler.h b/NorthstarDLL/crashhandler.h
index e0dc6906..990457cc 100644
--- a/NorthstarDLL/crashhandler.h
+++ b/NorthstarDLL/crashhandler.h
@@ -2,3 +2,25 @@
void InitialiseCrashHandler();
void RemoveCrashHandler();
+
+struct BacktraceModule
+{
+ std::string name;
+ std::string relativeAddress;
+ std::string address;
+};
+
+struct ExceptionLog
+{
+ std::string cause;
+ HMODULE crashedModule;
+ PEXCEPTION_RECORD exceptionRecord;
+ PCONTEXT contextRecord;
+ std::vector<BacktraceModule> trace;
+ std::vector<std::string> registerDump;
+
+ std::string runtimeInfo;
+
+ int longestModuleNameLength;
+ int longestRelativeAddressLength;
+};