#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) |
VOID | KdpGetVersion (IN PDBGKD_MANIPULATE_STATE64 m) |
NTSTATUS | KdpNotSupported (IN PDBGKD_MANIPULATE_STATE64 m) |
VOID | KdpCauseBugCheck (IN PDBGKD_MANIPULATE_STATE64 m) |
NTSTATUS | KdpWriteBreakPointEx (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpRestoreBreakPointEx (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpSearchMemory (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
ULONG | KdpSearchHammingDistance (ULONG_PTR Left, ULONG_PTR Right) |
LOGICAL | KdpSearchPhysicalPage (IN PFN_NUMBER PageFrameIndex, ULONG_PTR RangeStart, ULONG_PTR RangeEnd, ULONG Flags) |
LOGICAL | KdpSearchPhysicalMemoryRequested (VOID) |
LOGICAL | KdpSearchPhysicalPageRange (VOID) |
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_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteVirtualMemory (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpGetContext (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpSetContext (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWriteBreakpoint (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpRestoreBreakpoint (IN PDBGKD_MANIPULATE_STATE64 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_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdpWritePhysicalMemory (IN PDBGKD_MANIPULATE_STATE64 m, IN PSTRING AdditionalData, IN PCONTEXT Context) |
VOID | KdDisableDebugger (VOID) |
VOID | KdEnableDebugger (VOID) |
VOID | KdpCheckLowMemory (IN PDBGKD_MANIPULATE_STATE64 Message) |
Variables | |
LARGE_INTEGER | Magic10000 |
LONG | KdDisableCount = 0 |
BOOLEAN | KdPreviouslyEnabled |
|
Value:
|
|
|
|
Definition at line 3330 of file 4/kdapi.c. References DISPATCH_LEVEL, FALSE, KdDebuggerEnabled, KdDisableCount, KdPitchDebugger, KdpPortLock(), KdpPortUnlock(), KdPreviouslyEnabled, KdpStub(), KdpSuspendAllBreakpoints(), KeLowerIrql(), KeRaiseIrql(), and KiDebugRoutine.
|
|
Definition at line 3371 of file 4/kdapi.c. References ASSERT, DISPATCH_LEVEL, FALSE, KdDisableCount, KdInitSystem(), KdpPortLock(), KdpPortUnlock(), KdpRestoreAllBreakpoints(), KdPreviouslyEnabled, KeLowerIrql(), KeRaiseIrql(), NULL, PoHiberInProgress, and TRUE.
|
|
Definition at line 277 of file 4/kdapi.c. References DPRINT, FALSE, FREEZE_BACKUP, FREEZE_SKIPPED_PROCESSOR, KdEnteredDebugger, KdpDebuggerLock, KdPortSave(), KdpPortLocked, KdpQueryPerformanceCounter(), KdTimerDifference, KdTimerStart, KdTimerStop, KeFreezeExecution(), KiFreezeFlag, KiTryToAcquireSpinLock(), TimeFields, and TRUE. Referenced by KdpTrap(), and KdSetOwedBreakpoints().
|
|
Definition at line 355 of file 4/kdapi.c. References KdPortRestore(), KdpPortLocked, KdpPortUnlock(), KdpTimeSlipDpc, KdpTimeSlipPending, KdTimerStart, KdTimerStop, KeInsertQueueDpc(), KeQueryPerformanceCounter(), KeThawExecution(), NULL, PoHiberInProgress, and TimeFields. Referenced by KdpTrap(), and KdSetOwedBreakpoints().
|
|
Definition at line 3097 of file 4/kdapi.c. References KeBugCheckEx(). Referenced by KdpSendWaitContinue().
|
|
Definition at line 3633 of file 4/kdapi.c. References KdpSearchPhysicalMemoryRequested(), KdpSearchPhysicalPageRange(), KdpSendPacket(), MiNoLowMemory, MmHighestPhysicalPage, MmLowestPhysicalPage, and NULL. Referenced by KdpSendWaitContinue().
|
|
Definition at line 1569 of file 4/kdapi.c. References ASSERT, KdpQuickMoveMemory(), KdpSendPacket(), KeGetCurrentPrcb, KeNumberProcessors, KiProcessorBlock, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 2945 of file 4/kdapi.c. References KdpDebuggerDataListHead, KdpNtosImageBase, KdpSendPacket(), NtBuildNumber, NULL, PsLoadedModuleList, and PsNtosImageBase. Referenced by KdpSendWaitContinue().
|
|
Definition at line 3049 of file 4/kdapi.c. References KdpSendPacket(), and NULL. Referenced by KdpSendWaitContinue().
|
|
|
|
Definition at line 24 of file alpha/kdcmsup.c. References KeQueryPerformanceCounter(). Referenced by KdEnterDebugger().
|
|
Definition at line 2643 of file 4/kdapi.c. References ASSERT, BYTE_OFFSET, KdpMoveMemory(), KdpSendPacket(), MmDbgTranslatePhysicalAddress64(), PAGE_SIZE, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 1126 of file 4/kdapi.c. References KdpMoveMemory(), KdpSendPacket(), MmDbgReadCheck(), MmDbgReadCheck64(), and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 2459 of file 4/kdapi.c. References ContinueProcessorReselected, KCONTINUE_STATUS, KdpCheckTracePoint(), KdpSendWaitContinue(), KdpSetStateChange(), Status, and TRUE. Referenced by KdpSwitchProcessor(), and KdpTrap().
|
|
Definition at line 2542 of file 4/kdapi.c. References ContinueProcessorReselected, KCONTINUE_STATUS, KdpMoveMemory(), KdpPathBuffer, KdpSendWaitContinue(), KdpSetLoadState(), KeGetCurrentPrcb, KeGetCurrentThread, KeNumberProcessors, KeProcessorLevel, NULL, Status, and USHORT. Referenced by KdpTrap().
|
|
Definition at line 1740 of file 4/kdapi.c. References ASSERT, KdpDeleteBreakpoint(), KdpSendPacket(), and NULL. Referenced by KdpSendWaitContinue().
|
|
Definition at line 3247 of file 4/kdapi.c. References KdpDeleteBreakpoint(), KdpMoveMemory(), and KdpSendPacket(). Referenced by KdpSendWaitContinue().
|
|
Definition at line 3735 of file 4/kdapi.c. References Index. Referenced by KdpSearchPhysicalPage().
|
|
Definition at line 3417 of file 4/kdapi.c. References FALSE, KdpQuickMoveMemory(), KdpSendPacket(), MmDbgReadCheck(), NULL, PAGE_SIZE, and Pattern. Referenced by KdpSendWaitContinue().
|
|
Definition at line 3869 of file 4/kdapi.c. References FALSE, KdpSearchInProgress, and TRUE. Referenced by KdpCheckLowMemory().
|
|
Definition at line 3787 of file 4/kdapi.c. References FALSE, Index, KDP_SEARCH_ALL_OFFSETS_IN_PAGE, KdpSearchHammingDistance(), KdpSearchPageHitIndex, KdpSearchPageHitOffsets, KdpSearchPageHits, MmDbgTranslatePhysicalAddress64(), PAGE_SHIFT, PAGE_SIZE, SEARCH_PAGE_HIT_DATABASE_SIZE, and TRUE. Referenced by KdpSearchPhysicalPageRange().
|
|
Definition at line 3909 of file 4/kdapi.c. References FALSE, KDP_SEARCH_ALL_OFFSETS_IN_PAGE, KdpSearchAddressRangeEnd, KdpSearchAddressRangeStart, KdpSearchEndPageFrame, KdpSearchInProgress, KdpSearchPhysicalPage(), KdpSearchStartPageFrame, and TRUE. Referenced by KdpCheckLowMemory().
|
|
Definition at line 821 of file 4/kdapi.c. References ContinueError, ContinueSuccess, FALSE, KCONTINUE_STATUS, KdClearSpecialCalls(), KdDebuggerNotPresent, KDP_MESSAGE_BUFFER_SIZE, KDP_PACKET_RESEND, KDP_PACKET_TIMEOUT, KdpCauseBugCheck(), KdpCheckLowMemory(), KdpGetBusData(), KdpGetContext(), KdpGetStateChange(), KdpGetVersion(), KdpMessageBuffer, KdpNotSupported(), KdPortRestore(), KdPortSave(), KdpReadControlSpace(), KdpReadIoSpace(), KdpReadIoSpaceExtended(), KdpReadMachineSpecificRegister(), KdpReadPhysicalMemory(), KdpReadVirtualMemory(), KdpReadVirtualMemory64(), KdpReboot(), KdpReceivePacket(), KdpRestoreBreakpoint(), KdpRestoreBreakPointEx(), KdpSearchMemory(), KdpSendPacket(), KdpSetBusData(), KdpSetContext(), KdpWriteBreakpoint(), KdpWriteBreakPointEx(), KdpWriteControlSpace(), KdpWriteIoSpace(), KdpWriteIoSpaceExtended(), KdpWriteMachineSpecificRegister(), KdpWritePhysicalMemory(), KdpWriteVirtualMemory(), KdpWriteVirtualMemory64(), KdSetSpecialCall(), KeSwitchFrozenProcessor(), NT_SUCCESS, NTSTATUS(), Status, TRUE, and USHORT.
|
|
Definition at line 1629 of file 4/kdapi.c. References ASSERT, KdpQuickMoveMemory(), KdpSendPacket(), KeGetCurrentPrcb, KeNumberProcessors, KiProcessorBlock, NULL, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 2426 of file 4/kdapi.c. References KdPortRestore(), KdPortSave(), KdpReportExceptionStateChange(), and Status.
|
|
Definition at line 468 of file 4/kdapi.c. References DelayedWorkQueue, ExQueueWorkItem(), KdpTimeSlipPending, and KdpTimeSlipWorkItem.
|
|
Definition at line 502 of file 4/kdapi.c. References ExAcquireTimeRefreshLock(), ExReleaseTimeRefreshLock(), ExUpdateSystemTimeFromCmos(), FALSE, KdpTimeSlipDpc, KdpTimeSlipEvent, KdpTimeSlipEventLock, KdpTimeSlipTimer, KeAcquireSpinLock, KeReleaseSpinLock(), KeSetEvent(), and KeSetTimer().
|
|
Definition at line 1688 of file 4/kdapi.c. References ASSERT, KdpAddBreakpoint(), KdpSendPacket(), and NULL. Referenced by KdpSendWaitContinue().
|
|
Definition at line 3125 of file 4/kdapi.c. References KdpAddBreakpoint(), KdpDeleteBreakpoint(), KdpMoveMemory(), and KdpSendPacket(). Referenced by KdpSendWaitContinue().
|
|
Definition at line 2779 of file 4/kdapi.c. References BYTE_OFFSET, KdpMoveMemory(), KdpSendPacket(), MmDbgTranslatePhysicalAddress64(), NULL, PAGE_SIZE, and USHORT. Referenced by KdpSendWaitContinue().
|
|
Definition at line 1345 of file 4/kdapi.c. References KdpMoveMemory(), KdpSendPacket(), MmDbgReleaseAddress(), MmDbgWriteCheck(), MmDbgWriteCheck64(), and NULL. Referenced by KdpSendWaitContinue().
|
|
Definition at line 427 of file 4/kdapi.c. References Event(), KdpTimeSlipEvent, KdpTimeSlipEventLock, KeAcquireSpinLock, KeReleaseSpinLock(), NULL, and ObDereferenceObject. Referenced by NtSetSystemInformation().
|
|
|
|
|
|
|