| 13 | #pragma comment(lib, "dbghelp.lib") |
| 14 | |
| 15 | SymParser::SymParser(OPTIONAL LPCWSTR SymbolsPath) |
| 16 | : Initialized(FALSE), hProcess(GetCurrentProcess()), ModuleBase(NULL) |
| 17 | { |
| 18 | Initialized = SymInitialize( |
| 19 | hProcess, |
| 20 | SymbolsPath ? SymbolsPath : DefaultSymbolsPath, |
| 21 | FALSE |
| 22 | ); |
| 23 | } |
| 24 | |
| 25 | SymParser::~SymParser() { |
| 26 | if (Initialized) SymCleanup(hProcess); |
nothing calls this directly
no outgoing calls
no test coverage detected