| 159 | } |
| 160 | |
| 161 | std::filesystem::path GetCrashFilePath(std::wstring_view extension) { |
| 162 | return Filesystem::GetCrashLogsDirectory() |
| 163 | / std::format( |
| 164 | L"{}-crash-{:%Y%m%dT%H%M%S}-{}.{}", |
| 165 | mModulePath.stem(), |
| 166 | mNow, |
| 167 | mPID, |
| 168 | extension); |
| 169 | } |
| 170 | |
| 171 | unique_hmodule mDbgHelp; |
| 172 | decltype(&MiniDumpWriteDump) mMiniDumpWriteDump {nullptr}; |
nothing calls this directly
no test coverage detected