#include "dbgkp.h"
Go to the source code of this file.
Functions | |
VOID | DbgkpSuspendProcess (IN BOOLEAN CreateDeleteLockHeld) |
VOID | DbgkpResumeProcess (IN BOOLEAN CreateDeleteLockHeld) |
HANDLE | DbgkpSectionHandleToFileHandle (IN HANDLE SectionHandle) |
VOID | DbgkCreateThread (PVOID StartAddress) |
VOID | DbgkExitThread (NTSTATUS ExitStatus) |
VOID | DbgkExitProcess (NTSTATUS ExitStatus) |
VOID | DbgkMapViewOfSection (IN HANDLE SectionHandle, IN PVOID BaseAddress, IN ULONG SectionOffset, IN ULONG_PTR ViewSize) |
VOID | DbgkUnMapViewOfSection (IN PVOID BaseAddress) |
|
Definition at line 211 of file dbgkproc.c. References _EPROCESS::CreateProcessReported, DbgkpSectionHandleToFileHandle(), DbgkpSendApiMessage(), _ETHREAD::DeadThread, _EPROCESS::DebugPort, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, FileName, IMAGE_ADDRESSING_MODE_32BIT, IMAGE_INFO, _IMAGE_INFO::ImageAddressingMode, _IMAGE_INFO::ImageBase, _IMAGE_INFO::ImageSectionNumber, _IMAGE_INFO::ImageSelector, _IMAGE_INFO::ImageSize, KernelMode, L, MmGetFileNameForSection(), NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, _EPROCESS::Pcb, _IMAGE_INFO::Properties, PsCallImageNotifyRoutines(), PsGetCurrentProcess, PsGetCurrentThread, PsImageNotifyEnabled, PsLockProcess(), PsLockWaitForever, PsNtDllPathName, PsSystemDllBase, PsUnlockProcess(), RtlAnsiStringToUnicodeString(), RtlFreeUnicodeString(), RtlImageNtHeader(), RtlInitUnicodeString(), _EPROCESS::SectionBaseAddress, _EPROCESS::SectionHandle, Status, TRUE, _EPROCESS::UniqueProcessId, _KPROCESS::UserTime, and ZwOpenFile(). Referenced by PspUserThreadStartup().
|
|
Definition at line 528 of file dbgkproc.c. References DbgkpSendApiMessage(), _EPROCESS::DebugPort, FALSE, KeQuerySystemTime(), NULL, PAGED_CODE, PsGetCurrentProcess, and PsGetCurrentThread. Referenced by PspExitThread().
|
|
Definition at line 471 of file dbgkproc.c. References DbgkpResumeProcess(), DbgkpSendApiMessage(), DbgkpSuspendProcess(), _EPROCESS::DebugPort, FALSE, NULL, PAGED_CODE, PsGetCurrentProcess, PsGetCurrentThread, and TRUE. Referenced by PspExitThread().
|
|
Definition at line 586 of file dbgkproc.c. References DbgkpSectionHandleToFileHandle(), DbgkpSendApiMessage(), _EPROCESS::DebugPort, EXCEPTION_EXECUTE_HANDLER, KernelMode, NULL, PAGED_CODE, PsGetCurrentProcess, PsGetCurrentThread, RtlImageNtHeader(), and TRUE. Referenced by NtMapViewOfSection().
|
|
Definition at line 86 of file dbgkproc.c. References KernelMode, KeThawAllThreads(), PAGED_CODE, PsGetCurrentProcess, PsLockProcess(), PsLockWaitForever, and PsUnlockProcess(). Referenced by DbgkExitThread(), and DbgkpSendApiMessage().
|
|
Definition at line 136 of file dbgkproc.c. References ExFreePool(), FileName, Handle, MmGetFileNameForSection(), NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, RtlAnsiStringToUnicodeString(), RtlFreeUnicodeString(), Status, TRUE, and ZwOpenFile(). Referenced by DbgkCreateThread(), and DbgkMapViewOfSection().
|
|
Definition at line 36 of file dbgkproc.c. References KeFreezeAllThreads(), KernelMode, PAGED_CODE, PsGetCurrentProcess, PsLockProcess(), PsLockWaitForever, and PsUnlockProcess(). Referenced by DbgkExitThread(), and DbgkpSendApiMessage().
|
|
Definition at line 664 of file dbgkproc.c. References DbgkpSendApiMessage(), _EPROCESS::DebugPort, KernelMode, NULL, PAGED_CODE, PsGetCurrentProcess, PsGetCurrentThread, and TRUE. Referenced by MmUnmapViewOfSection().
|