MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / GetSingleSSDTInfo

Method GetSingleSSDTInfo

WinArk/SSDTHookTable.cpp:271–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269}
270
271std::wstring CSSDTHookTable::GetSingleSSDTInfo(SystemServiceInfo& info) {
272 CString text;
273 CString s;
274
275 s.Format(L"%d (0x%-x)", info.ServiceNumber, info.ServiceNumber);
276 s += L"\t";
277 text += s;
278
279 s = Helpers::StringToWstring(info.ServiceFunctionName).c_str();
280 s += L"\t";
281 text += s;
282
283 s.Format(L"0x%p", info.OriginalAddress);
284 s += L"\t";
285 text += s;
286
287 s = Helpers::StringToWstring(info.HookType).c_str();
288 s += L"\t";
289 text += s;
290
291 s.Format(L"0x%p", info.CurrentAddress);
292 s += L"\t";
293 text += s;
294
295 s = Helpers::StringToWstring(info.TargetModule).c_str();
296 s += L"\t";
297 text += s;
298
299 text += L"\r\n";
300
301 return text.GetString();
302}

Callers

nothing calls this directly

Calls 1

GetStringMethod · 0.80

Tested by

no test coverage detected