MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / initInterfaces

Method initInterfaces

plugins/WinDbgMemory/WinDbgMemoryPlugin.cpp:158–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void WinDbgMemoryProvider::initInterfaces()
159{
160#ifdef _WIN32
161 if (!m_client) return;
162
163 HRESULT hr;
164 hr = m_client->QueryInterface(IID_IDebugDataSpaces, (void**)&m_dataSpaces);
165 qDebug() << "[WinDbg] IDebugDataSpaces hr=" << Qt::hex << (unsigned long)hr
166 << "ptr=" << (void*)m_dataSpaces;
167
168 hr = m_client->QueryInterface(IID_IDebugControl, (void**)&m_control);
169 qDebug() << "[WinDbg] IDebugControl hr=" << Qt::hex << (unsigned long)hr
170 << "ptr=" << (void*)m_control;
171
172 hr = m_client->QueryInterface(IID_IDebugSymbols, (void**)&m_symbols);
173 qDebug() << "[WinDbg] IDebugSymbols hr=" << Qt::hex << (unsigned long)hr
174 << "ptr=" << (void*)m_symbols;
175
176 if (!m_dataSpaces) {
177 qWarning() << "[WinDbg] No IDebugDataSpaces — cleaning up";
178 cleanup();
179 }
180#endif
181}
182
183void WinDbgMemoryProvider::querySessionInfo()
184{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected