MCPcopy Create free account
hub / github.com/WinDurango/WinDurango / GetExceptionType

Method GetExceptionType

projects/WinDurango.Watchdog/src/Watchdog.cpp:119–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 }
118
119 std::string Watchdog::GetExceptionType(DWORD e_code) {
120 std::string e_type = "UNKNOWN";
121
122 switch (e_code) {
123 case EXCEPTION_ACCESS_VIOLATION:
124 e_type = "Access Violation";
125 break;
126 case EXCEPTION_BREAKPOINT:
127 e_type = "Breakpoint";
128 break;
129 case 0xE06D7363:
130 e_type = "C++ Exception";
131 break;
132 default:
133 e_type = "Unknown Exception";
134 break;
135 }
136
137 return e_type;
138 }
139
140 std::string Watchdog::GetDllPath(uint64_t addr) {
141 std::string dllName = "UNKNOWN";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected