#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ KdDebuggerInitialize0()
Definition at line 85 of file kdmain.c.
87{
90
91 if (LoaderBlock)
92 {
93
94 CommandLine = LoaderBlock->LoadOptions;
95 if (CommandLine)
96 {
97
99
100#ifdef KDBG
101
103#endif
104
105
107 }
108 }
109
110
112 {
113
114 Port +=
sizeof(
"DEBUGPORT") - 1;
115
116
119
120
123 }
124
125
128
129
130 for (
i = 0;
i < KdMax;
i++)
131 {
133 }
134
136}
char * strstr(char *String1, char *String2)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID NTAPI KdbpGetCommandLineSettings(PCHAR p1)
KDP_DEBUG_MODE KdpDebugMode
PKDP_INIT_ROUTINE InitRoutines[KdMax]
static PCHAR NTAPI KdpGetDebugMode(PCHAR Currentp2)
_CRTIMP char *__cdecl _strupr(_Inout_z_ char *_String)
_In_ PWDFDEVICE_INIT _In_ PWDF_PDO_EVENT_CALLBACKS DispatchTable
◆ KdDebuggerInitialize1()
Definition at line 140 of file kdmain.c.
142{
144 PKD_DISPATCH_TABLE CurrentTable;
145
146
149 {
150
152 KD_DISPATCH_TABLE,
153 KdProvidersList);
154
155
156 CurrentTable->KdpInitRoutine(CurrentTable, 1);
157
158
159 CurrentEntry = CurrentEntry->
Flink;
160 }
161
163
165}
#define FLG_STOP_ON_EXCEPTION
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)
◆ KdpGetDebugMode()
Definition at line 24 of file kdmain.c.
25{
26 PCHAR p1, p2 = Currentp2;
28
29
31 {
32
33 p2 += 6;
35 }
36
38 {
39
40 p2 += 3;
41 if (*p2 != ':')
42 {
45 {
46
48
49
51 }
52 }
53 else
54 {
57 {
61 }
62 }
63 }
64
66 {
67
68 p2 += 4;
70 if (*p2 == ':')
71 {
72 p2++;
73 p1 = p2;
74 while (*p2 != '\0' && *p2 != ' ') p2++;
77 }
78 }
79
80 return p2;
81}
UINT32 strtoul(const char *String, char **Terminator, UINT32 Base)
#define _strnicmp(_String1, _String2, _MaxCount)
_Check_return_ long __cdecl atol(_In_z_ const char *_Str)
ANSI_STRING KdpLogFileName
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
Referenced by KdDebuggerInitialize0().
◆ PspDumpThreads()
◆ KdpLogFileName