| 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"; |
nothing calls this directly
no outgoing calls
no test coverage detected