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

Method GetSingleShadowSSDTInfo

WinArk/ShadowSSDTTable.cpp:265–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265std::wstring CShadowSSDTHookTable::GetSingleShadowSSDTInfo(ShadowSystemServiceInfo& info) {
266 CString text;
267 CString s;
268
269 s.Format(L"%d (0x%-x)", info.ServiceNumber, info.ServiceNumber);
270 s += L"\t";
271 text += s;
272
273 s = Helpers::StringToWstring(info.ServiceFunctionName).c_str();
274 s += L"\t";
275 text += s;
276
277 s.Format(L"0x%p", info.OriginalAddress);
278 s += L"\t";
279 text += s;
280
281 s = Helpers::StringToWstring(info.HookType).c_str();
282 s += L"\t";
283 text += s;
284
285 s.Format(L"0x%p", info.CurrentAddress);
286 s += L"\t";
287 text += s;
288
289 s = Helpers::StringToWstring(info.TargetModule).c_str();
290 s += L"\t";
291 text += s;
292
293 text += L"\r\n";
294
295 return text.GetString();
296}

Callers

nothing calls this directly

Calls 1

GetStringMethod · 0.80

Tested by

no test coverage detected