#include "kdp.h"
Go to the source code of this file.
Defines | |
#define | SHIFT10000 13 |
#define | Convert100nsToMilliseconds(LARGE_INTEGER) |
Functions | |
LARGE_INTEGER | KdpQueryPerformanceCounter (IN PKTRAP_FRAME TrapFrame) |
VOID | KdpProcessInternalBreakpoint (ULONG BreakpointNumber) |
NTSTATUS | KdQuerySpecialCalls (PDBGKD_MANIPULATE_STATE m, ULONG Length, PULONG RequiredLength) |
VOID | KdSetSpecialCall (PDBGKD_MANIPULATE_STATE m, PCONTEXT ContextRecord) |
VOID | KdClearSpecialCalls (VOID) |
VOID | KdpGetVersion (IN PDBGKD_MANIPULATE_STATE m) |
NTSTATUS | KdpNotSupported (IN PDBGKD_MANIPULATE_STATE m) |
VOID | KdpCauseBugCheck (IN PDBGKD_MANIPULATE_STATE m) |
NTSTATUS | KdpWriteBreakPointEx (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpRestoreBreakPointEx (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpSearchMemory (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
BOOLEAN | KdEnterDebugger (IN PKTRAP_FRAME TrapFrame, IN PKEXCEPTION_FRAME ExceptionFrame) |
VOID | KdExitDebugger (IN BOOLEAN Enable) |
VOID | KdUpdateTimeSlipEvent (PVOID Event) |
VOID | KdpTimeSlipDpcRoutine (PKDPC Dpc, PVOID DeferredContext, PVOID SystemArgument1, PVOID SystemArgument2) |
VOID | KdpTimeSlipWork (IN PVOID Context) |
KCONTINUE_STATUS | KdpSendWaitContinue (IN ULONG OutPacketType, IN PSTRING OutMessageHeader, IN PSTRING OutMessageData OPTIONAL, IN OUT PCONTEXT ContextRecord) |
VOID | KdpReadVirtualMemory (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpReadVirtualMemory64 (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteVirtualMemory (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteVirtualMemory64 (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpGetContext (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpSetContext (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteBreakpoint (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpRestoreBreakpoint (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
BOOLEAN | KdpSwitchProcessor (IN PEXCEPTION_RECORD ExceptionRecord, IN OUT PCONTEXT ContextRecord, IN BOOLEAN SecondChance) |
BOOLEAN | KdpReportExceptionStateChange (IN PEXCEPTION_RECORD ExceptionRecord, IN OUT PCONTEXT ContextRecord, IN BOOLEAN SecondChance) |
BOOLEAN | KdpReportLoadSymbolsStateChange (IN PSTRING PathName, IN PKD_SYMBOLS_INFO SymbolInfo, IN BOOLEAN UnloadSymbols, IN OUT PCONTEXT ContextRecord) |
VOID | KdpReadPhysicalMemory (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWritePhysicalMemory (IN PDBGKD_MANIPULATE_STATE m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdDisableDebugger (VOID) |
VOID | KdEnableDebugger (VOID) |
Variables | |
LARGE_INTEGER | Magic10000 |
LONG | KdDisableCount = 0 |
BOOLEAN | KdPreviouslyEnabled |
|
Value:
Definition at line 48 of file kdapi.c. Referenced by TimeToDaysAndFraction(). |
|
|
|
|
|
Definition at line 3240 of file kdapi.c. References DISPATCH_LEVEL, FALSE, KdDebuggerEnabled, KdDisableCount, KdPitchDebugger, KdpPortLock(), KdpPortUnlock(), KdPreviouslyEnabled, KdpStub(), KdpSuspendAllBreakpoints(), KeLowerIrql(), KeRaiseIrql(), and KiDebugRoutine.
|
|
Definition at line 3282 of file kdapi.c. References ASSERT, DISPATCH_LEVEL, FALSE, KdDisableCount, KdInitSystem(), KdpPortLock(), KdpPortUnlock(), KdpRestoreAllBreakpoints(), KdPreviouslyEnabled, KeLowerIrql(), KeRaiseIrql(), NULL, PoHiberInProgress, and TRUE.
|
|
Definition at line 303 of file kdapi.c. References DPRINT, FALSE, FREEZE_BACKUP, FREEZE_SKIPPED_PROCESSOR, KdEnteredDebugger, KdpDebuggerLock, KdPortSave(), KdpPortLocked, KdpQueryPerformanceCounter(), KdTimerDifference, KdTimerStart, KdTimerStop, KeFreezeExecution(), KiFreezeFlag, KiTryToAcquireSpinLock(), TimeFields, and TRUE.
|
|
Definition at line 381 of file kdapi.c. References KdPortRestore(), KdpPortLocked, KdpPortUnlock(), KdpTimeSlipDpc, KdpTimeSlipPending, KdTimerStart, KdTimerStop, KeInsertQueueDpc(), KeQueryPerformanceCounter(), KeThawExecution(), NULL, PoHiberInProgress, and TimeFields.
|
|
Definition at line 3007 of file kdapi.c. References KeBugCheckEx().
|
|
Definition at line 1461 of file kdapi.c.
|
|
Definition at line 2838 of file kdapi.c. References KdpDebuggerDataListHead, KdpNtosImageBase, KdpSendPacket(), KeUserCallbackDispatcher, KiCallUserMode(), NtBuildNumber, NULL, PsLoadedModuleList, PsNtosImageBase, and RtlpBreakWithStatusInstruction().
|
|
Definition at line 2959 of file kdapi.c. References KdpSendPacket(), and NULL.
|
|
|
|
Definition at line 24 of file alpha/kdcmsup.c.
|
|
Definition at line 2534 of file kdapi.c.
|
|
Definition at line 1139 of file kdapi.c.
|
|
Definition at line 1215 of file kdapi.c. References KdpSendPacket(), MmDbgReadCheck64(), and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 2351 of file kdapi.c.
|
|
Definition at line 2434 of file kdapi.c.
|
|
Definition at line 1632 of file kdapi.c.
|
|
Definition at line 3157 of file kdapi.c. References KdpDeleteBreakpoint(), KdpMoveMemory(), and KdpSendPacket().
|
|
Definition at line 3328 of file kdapi.c. References FALSE, KdpQuickMoveMemory(), KdpSendPacket(), MmDbgReadCheck(), NULL, PAGE_SIZE, and Pattern.
|
|
Definition at line 847 of file kdapi.c. References ContinueError, ContinueSuccess, FALSE, KCONTINUE_STATUS, KdClearSpecialCalls(), KdDebuggerNotPresent, KDP_MESSAGE_BUFFER_SIZE, KDP_PACKET_RESEND, KDP_PACKET_TIMEOUT, KdpCauseBugCheck(), KdpGetContext(), KdpGetStateChange(), KdpGetVersion(), KdpMessageBuffer, KdpNotSupported(), KdPortRestore(), KdPortSave(), KdpReadControlSpace(), KdpReadIoSpace(), KdpReadIoSpaceExtended(), KdpReadMachineSpecificRegister(), KdpReadPhysicalMemory(), KdpReadVirtualMemory(), KdpReadVirtualMemory64(), KdpReboot(), KdpReceivePacket(), KdpRestoreBreakpoint(), KdpRestoreBreakPointEx(), KdpSearchMemory(), KdpSendPacket(), KdpSetContext(), KdpWriteBreakpoint(), KdpWriteBreakPointEx(), KdpWriteControlSpace(), KdpWriteIoSpace(), KdpWriteIoSpaceExtended(), KdpWriteMachineSpecificRegister(), KdpWritePhysicalMemory(), KdpWriteVirtualMemory(), KdpWriteVirtualMemory64(), KdSetSpecialCall(), KeSwitchFrozenProcessor(), NT_SUCCESS, NTSTATUS(), Status, TRUE, and USHORT.
|
|
Definition at line 1521 of file kdapi.c.
|
|
Definition at line 2318 of file kdapi.c. Referenced by KdInitSystem().
|
|
Definition at line 494 of file kdapi.c. Referenced by KdInitSystem().
|
|
Definition at line 528 of file kdapi.c. Referenced by KdInitSystem().
|
|
Definition at line 1580 of file kdapi.c.
|
|
Definition at line 3035 of file kdapi.c. References KdpAddBreakpoint(), KdpDeleteBreakpoint(), KdpMoveMemory(), and KdpSendPacket().
|
|
Definition at line 2680 of file kdapi.c.
|
|
Definition at line 1308 of file kdapi.c.
|
|
Definition at line 1375 of file kdapi.c. References KdpSendPacket(), MmDbgWriteCheck64(), and NULL. Referenced by KdpSendWaitContinue().
|
|
|
|
|
|
Definition at line 453 of file kdapi.c. References Event(), KdpTimeSlipEvent, KdpTimeSlipEventLock, KeAcquireSpinLock, KeReleaseSpinLock(), NULL, and ObDereferenceObject.
|
|
Definition at line 243 of file kdapi.c. Referenced by KdDisableDebugger(), and KdEnableDebugger(). |
|
Definition at line 244 of file kdapi.c. Referenced by KdDisableDebugger(), and KdEnableDebugger(). |
|
|