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

Function DbgkpWakeTarget

KernelLibrary/kDbgSys.cpp:263–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263VOID DbgkpWakeTarget(
264 _In_ PDEBUG_EVENT DebugEvent
265) {
266 PETHREAD Thread;
267
268 Thread = (PETHREAD)DebugEvent->Thread;
269
270 if ((DebugEvent->Flags & DEBUG_EVENT_SUSPEND) != 0) {
271 PsResumeThread(Thread, nullptr);
272 }
273
274 if (DebugEvent->Flags & DEBUG_EVENT_RELEASE) {
275 //ExReleaseRundownProtection(&Thread->RundownProtect);
276 }
277
278 if ((DebugEvent->Flags & DEBUG_EVENT_NOWAIT) == 0) {
279 // ���ѵȴ��ı������߳�
280 KeSetEvent(&DebugEvent->ContinueEvent, 0, FALSE);
281 }
282 else {
283 DbgkpFreeDebugEvent(DebugEvent);
284 }
285}
286
287VOID DbgkpMarkProcessPeb(
288 _In_ PEPROCESS Process

Callers 3

NtDebugContinueFunction · 0.85
DbgkpCloseObjectFunction · 0.85

Calls 2

PsResumeThreadFunction · 0.85
DbgkpFreeDebugEventFunction · 0.85

Tested by

no test coverage detected