| dbgeng.h (6.3.9600.17415-Windows 8.1) | | dbgeng.h (10.0.10586.494-Windows 10 1511 10586.494) |
| | |
| skipping to change at line 56 | | skipping to change at line 56 |
| | |
| /* f2df5f53-071f-47bd-9de6-5734c3fed689 */ | | /* f2df5f53-071f-47bd-9de6-5734c3fed689 */ |
| DEFINE_GUID(IID_IDebugAdvanced, 0xf2df5f53, 0x071f, 0x47bd, | | DEFINE_GUID(IID_IDebugAdvanced, 0xf2df5f53, 0x071f, 0x47bd, |
| 0x9d, 0xe6, 0x57, 0x34, 0xc3, 0xfe, 0xd6, 0x89); | | 0x9d, 0xe6, 0x57, 0x34, 0xc3, 0xfe, 0xd6, 0x89); |
| /* 716d14c9-119b-4ba5-af1f-0890e672416a */ | | /* 716d14c9-119b-4ba5-af1f-0890e672416a */ |
| DEFINE_GUID(IID_IDebugAdvanced2, 0x716d14c9, 0x119b, 0x4ba5, | | DEFINE_GUID(IID_IDebugAdvanced2, 0x716d14c9, 0x119b, 0x4ba5, |
| 0xaf, 0x1f, 0x08, 0x90, 0xe6, 0x72, 0x41, 0x6a); | | 0xaf, 0x1f, 0x08, 0x90, 0xe6, 0x72, 0x41, 0x6a); |
| /* cba4abb4-84c4-444d-87ca-a04e13286739 */ | | /* cba4abb4-84c4-444d-87ca-a04e13286739 */ |
| DEFINE_GUID(IID_IDebugAdvanced3, 0xcba4abb4, 0x84c4, 0x444d, | | DEFINE_GUID(IID_IDebugAdvanced3, 0xcba4abb4, 0x84c4, 0x444d, |
| 0x87, 0xca, 0xa0, 0x4e, 0x13, 0x28, 0x67, 0x39); | | 0x87, 0xca, 0xa0, 0x4e, 0x13, 0x28, 0x67, 0x39); |
|
| | /* d1069067-2a65-4bf0-ae97-76184b67856b */ |
| | DEFINE_GUID(IID_IDebugAdvanced4, 0xd1069067, 0x2a65, 0x4bf0, |
| | 0xae, 0x97, 0x76, 0x18, 0x4b, 0x67, 0x85, 0x6b); |
| /* 5bd9d474-5975-423a-b88b-65a8e7110e65 */ | | /* 5bd9d474-5975-423a-b88b-65a8e7110e65 */ |
| DEFINE_GUID(IID_IDebugBreakpoint, 0x5bd9d474, 0x5975, 0x423a, | | DEFINE_GUID(IID_IDebugBreakpoint, 0x5bd9d474, 0x5975, 0x423a, |
| 0xb8, 0x8b, 0x65, 0xa8, 0xe7, 0x11, 0x0e, 0x65); | | 0xb8, 0x8b, 0x65, 0xa8, 0xe7, 0x11, 0x0e, 0x65); |
| /* 1b278d20-79f2-426e-a3f9-c1ddf375d48e */ | | /* 1b278d20-79f2-426e-a3f9-c1ddf375d48e */ |
| DEFINE_GUID(IID_IDebugBreakpoint2, 0x1b278d20, 0x79f2, 0x426e, | | DEFINE_GUID(IID_IDebugBreakpoint2, 0x1b278d20, 0x79f2, 0x426e, |
| 0xa3, 0xf9, 0xc1, 0xdd, 0xf3, 0x75, 0xd4, 0x8e); | | 0xa3, 0xf9, 0xc1, 0xdd, 0xf3, 0x75, 0xd4, 0x8e); |
| /* 38f5c249-b448-43bb-9835-579d4ec02249 */ | | /* 38f5c249-b448-43bb-9835-579d4ec02249 */ |
| DEFINE_GUID(IID_IDebugBreakpoint3, 0x38f5c249, 0xb448, 0x43bb, | | DEFINE_GUID(IID_IDebugBreakpoint3, 0x38f5c249, 0xb448, 0x43bb, |
| 0x98, 0x35, 0x57, 0x9d, 0x4e, 0xc0, 0x22, 0x49); | | 0x98, 0x35, 0x57, 0x9d, 0x4e, 0xc0, 0x22, 0x49); |
| /* 27fe5639-8407-4f47-8364-ee118fb08ac8 */ | | /* 27fe5639-8407-4f47-8364-ee118fb08ac8 */ |
| | |
| skipping to change at line 186 | | skipping to change at line 189 |
| /* 489468e6-7d0f-4af5-87ab-25207454d553 */ | | /* 489468e6-7d0f-4af5-87ab-25207454d553 */ |
| DEFINE_GUID(IID_IDebugSystemObjects4, 0x489468e6, 0x7d0f, 0x4af5, | | DEFINE_GUID(IID_IDebugSystemObjects4, 0x489468e6, 0x7d0f, 0x4af5, |
| 0x87, 0xab, 0x25, 0x20, 0x74, 0x54, 0xd5, 0x53); | | 0x87, 0xab, 0x25, 0x20, 0x74, 0x54, 0xd5, 0x53); |
| | |
| typedef interface DECLSPEC_UUID("f2df5f53-071f-47bd-9de6-5734c3fed689") | | typedef interface DECLSPEC_UUID("f2df5f53-071f-47bd-9de6-5734c3fed689") |
| IDebugAdvanced* PDEBUG_ADVANCED; | | IDebugAdvanced* PDEBUG_ADVANCED; |
| typedef interface DECLSPEC_UUID("716d14c9-119b-4ba5-af1f-0890e672416a") | | typedef interface DECLSPEC_UUID("716d14c9-119b-4ba5-af1f-0890e672416a") |
| IDebugAdvanced2* PDEBUG_ADVANCED2; | | IDebugAdvanced2* PDEBUG_ADVANCED2; |
| typedef interface DECLSPEC_UUID("cba4abb4-84c4-444d-87ca-a04e13286739") | | typedef interface DECLSPEC_UUID("cba4abb4-84c4-444d-87ca-a04e13286739") |
| IDebugAdvanced3* PDEBUG_ADVANCED3; | | IDebugAdvanced3* PDEBUG_ADVANCED3; |
|
| | typedef interface DECLSPEC_UUID("d1069067-2a65-4bf0-ae97-76184b67856b") |
| | IDebugAdvanced4* PDEBUG_ADVANCED4; |
| typedef interface DECLSPEC_UUID("5bd9d474-5975-423a-b88b-65a8e7110e65") | | typedef interface DECLSPEC_UUID("5bd9d474-5975-423a-b88b-65a8e7110e65") |
| IDebugBreakpoint* PDEBUG_BREAKPOINT; | | IDebugBreakpoint* PDEBUG_BREAKPOINT; |
| typedef interface DECLSPEC_UUID("1b278d20-79f2-426e-a3f9-c1ddf375d48e") | | typedef interface DECLSPEC_UUID("1b278d20-79f2-426e-a3f9-c1ddf375d48e") |
| IDebugBreakpoint2* PDEBUG_BREAKPOINT2; | | IDebugBreakpoint2* PDEBUG_BREAKPOINT2; |
| typedef interface DECLSPEC_UUID("38f5c249-b448-43bb-9835-579d4ec02249") | | typedef interface DECLSPEC_UUID("38f5c249-b448-43bb-9835-579d4ec02249") |
| IDebugBreakpoint3* PDEBUG_BREAKPOINT3; | | IDebugBreakpoint3* PDEBUG_BREAKPOINT3; |
| typedef interface DECLSPEC_UUID("27fe5639-8407-4f47-8364-ee118fb08ac8") | | typedef interface DECLSPEC_UUID("27fe5639-8407-4f47-8364-ee118fb08ac8") |
| IDebugClient* PDEBUG_CLIENT; | | IDebugClient* PDEBUG_CLIENT; |
| typedef interface DECLSPEC_UUID("edbed635-372e-4dab-bbfe-ed0d2f63be81") | | typedef interface DECLSPEC_UUID("edbed635-372e-4dab-bbfe-ed0d2f63be81") |
| IDebugClient2* PDEBUG_CLIENT2; | | IDebugClient2* PDEBUG_CLIENT2; |
| | |
| skipping to change at line 566 | | skipping to change at line 571 |
| // InBuffer - TID | | // InBuffer - TID |
| // OutBuffer - Unused | | // OutBuffer - Unused |
| // return - ResumeThreads() return. | | // return - ResumeThreads() return. |
| #define DEBUG_REQUEST_RESUME_THREAD 34 | | #define DEBUG_REQUEST_RESUME_THREAD 34 |
| | |
| // InBuffer - LONG32 - 0:query current state; >0:enable inline queries; <0: disa
ble inline queries | | // InBuffer - LONG32 - 0:query current state; >0:enable inline queries; <0: disa
ble inline queries |
| // OutBuffer - Unused | | // OutBuffer - Unused |
| // return - S_OK: inline queries are enabled; S_FALSE: inline queries are disabl
ed; others: errors. | | // return - S_OK: inline queries are enabled; S_FALSE: inline queries are disabl
ed; others: errors. |
| #define DEBUG_REQUEST_INLINE_QUERY 35 | | #define DEBUG_REQUEST_INLINE_QUERY 35 |
| | |
|
| | // InBuffer - Unused |
| | // OutBuffer - Unused |
| | // return - S_OK. |
| | #define DEBUG_REQUEST_TL_INSTRUMENTATION_AWARE 36 |
| | |
| | // InBuffer - Unused |
| | // OutBuffer - ULONG for version number supported |
| | // return - S_OK. |
| | #define DEBUG_REQUEST_GET_INSTRUMENTATION_VERSION 37 |
| | |
| // | | // |
| // GetSourceFileInformation requests. | | // GetSourceFileInformation requests. |
| // | | // |
| | |
| // Arg64 - Module base. | | // Arg64 - Module base. |
| // Arg32 - Unused. | | // Arg32 - Unused. |
| #define DEBUG_SRCFILE_SYMBOL_TOKEN 0 | | #define DEBUG_SRCFILE_SYMBOL_TOKEN 0 |
| | |
| // Arg64 - Module base. | | // Arg64 - Module base. |
| // Arg32 - Unused. | | // Arg32 - Unused. |
| | |
| skipping to change at line 906 | | skipping to change at line 921 |
| _In_ ULONG Arg32, | | _In_ ULONG Arg32, |
| _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, | | _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, |
| _In_ ULONG BufferSize, | | _In_ ULONG BufferSize, |
| _Out_opt_ PULONG InfoSize, | | _Out_opt_ PULONG InfoSize, |
| _Out_writes_opt_(StringBufferSize) PWSTR StringBuffer, | | _Out_writes_opt_(StringBufferSize) PWSTR StringBuffer, |
| _In_ ULONG StringBufferSize, | | _In_ ULONG StringBufferSize, |
| _Out_opt_ PULONG StringSize | | _Out_opt_ PULONG StringSize |
| ) PURE; | | ) PURE; |
| }; | | }; |
| | |
|
| | // |
| | // Extended line symbol information. |
| | // |
| | typedef struct _SYMBOL_INFO_EX |
| | { |
| | ULONG SizeOfStruct; // Set to sizeof(SYMBOL_INFO_EX). |
| | ULONG TypeOfInfo; // Type of the symbol information stored (Ex. DE |
| | BUG_SYMINFO_BREAKPOINT_SOURCE_LINE) |
| | ULONG64 Offset; // Address of the line. |
| | ULONG Line; // First line number that does not correspond to |
| | a compiler added glue lines. |
| | ULONG Displacement; // Line displacement: Offset between given addre |
| | ss and the first instruction of the line. |
| | ULONG Reserved[4]; |
| | } SYMBOL_INFO_EX, *PSYMBOL_INFO_EX; |
| | |
| | #undef INTERFACE |
| | #define INTERFACE IDebugAdvanced4 |
| | DECLARE_INTERFACE_(IDebugAdvanced4, IUnknown) |
| | { |
| | // IUnknown. |
| | STDMETHOD(QueryInterface)( |
| | THIS_ |
| | _In_ REFIID InterfaceId, |
| | _Out_ PVOID* Interface |
| | ) PURE; |
| | STDMETHOD_(ULONG, AddRef)( |
| | THIS |
| | ) PURE; |
| | STDMETHOD_(ULONG, Release)( |
| | THIS |
| | ) PURE; |
| | |
| | // IDebugAdvanced. |
| | |
| | // Get/SetThreadContext offer control over |
| | // the full processor context for a thread. |
| | // Higher-level functions, such as the |
| | // IDebugRegisters interface, allow similar |
| | // access in simpler and more generic ways. |
| | // Get/SetThreadContext are useful when |
| | // large amounts of thread context must |
| | // be changed and processor-specific code |
| | // is not a problem. |
| | STDMETHOD(GetThreadContext)( |
| | THIS_ |
| | _Out_writes_bytes_(ContextSize) /* align_is(16) */ PVOID Context, |
| | _In_ ULONG ContextSize |
| | ) PURE; |
| | STDMETHOD(SetThreadContext)( |
| | THIS_ |
| | _In_reads_bytes_(ContextSize) /* align_is(16) */ PVOID Context, |
| | _In_ ULONG ContextSize |
| | ) PURE; |
| | |
| | // IDebugAdvanced2. |
| | |
| | // |
| | // Generalized open-ended methods for querying |
| | // and manipulation. The open-ended nature of |
| | // these methods makes it easy to add new requests, |
| | // although at a cost in convenience of calling. |
| | // Sufficiently common requests may have more specific, |
| | // simpler methods elsewhere. |
| | // |
| | |
| | STDMETHOD(Request)( |
| | THIS_ |
| | _In_ ULONG Request, |
| | _In_reads_bytes_opt_(InBufferSize) PVOID InBuffer, |
| | _In_ ULONG InBufferSize, |
| | _Out_writes_bytes_opt_(OutBufferSize) PVOID OutBuffer, |
| | _In_ ULONG OutBufferSize, |
| | _Out_opt_ PULONG OutSize |
| | ) PURE; |
| | |
| | STDMETHOD(GetSourceFileInformation)( |
| | THIS_ |
| | _In_ ULONG Which, |
| | _In_ PSTR SourceFile, |
| | _In_ ULONG64 Arg64, |
| | _In_ ULONG Arg32, |
| | _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG InfoSize |
| | ) PURE; |
| | STDMETHOD(FindSourceFileAndToken)( |
| | THIS_ |
| | _In_ ULONG StartElement, |
| | _In_ ULONG64 ModAddr, |
| | _In_ PCSTR File, |
| | _In_ ULONG Flags, |
| | _In_reads_bytes_opt_(FileTokenSize) PVOID FileToken, |
| | _In_ ULONG FileTokenSize, |
| | _Out_opt_ PULONG FoundElement, |
| | _Out_writes_opt_(BufferSize) PSTR Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG FoundSize |
| | ) PURE; |
| | |
| | STDMETHOD(GetSymbolInformation)( |
| | THIS_ |
| | _In_ ULONG Which, |
| | _In_ ULONG64 Arg64, |
| | _In_ ULONG Arg32, |
| | _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG InfoSize, |
| | _Out_writes_opt_(StringBufferSize) PSTR StringBuffer, |
| | _In_ ULONG StringBufferSize, |
| | _Out_opt_ PULONG StringSize |
| | ) PURE; |
| | |
| | STDMETHOD(GetSystemObjectInformation)( |
| | THIS_ |
| | _In_ ULONG Which, |
| | _In_ ULONG64 Arg64, |
| | _In_ ULONG Arg32, |
| | _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG InfoSize |
| | ) PURE; |
| | |
| | // IDebugAdvanced3. |
| | |
| | STDMETHOD(GetSourceFileInformationWide)( |
| | THIS_ |
| | _In_ ULONG Which, |
| | _In_ PWSTR SourceFile, |
| | _In_ ULONG64 Arg64, |
| | _In_ ULONG Arg32, |
| | _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG InfoSize |
| | ) PURE; |
| | STDMETHOD(FindSourceFileAndTokenWide)( |
| | THIS_ |
| | _In_ ULONG StartElement, |
| | _In_ ULONG64 ModAddr, |
| | _In_ PCWSTR File, |
| | _In_ ULONG Flags, |
| | _In_reads_bytes_opt_(FileTokenSize) PVOID FileToken, |
| | _In_ ULONG FileTokenSize, |
| | _Out_opt_ PULONG FoundElement, |
| | _Out_writes_opt_(BufferSize) PWSTR Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG FoundSize |
| | ) PURE; |
| | |
| | STDMETHOD(GetSymbolInformationWide)( |
| | THIS_ |
| | _In_ ULONG Which, |
| | _In_ ULONG64 Arg64, |
| | _In_ ULONG Arg32, |
| | _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG InfoSize, |
| | _Out_writes_opt_(StringBufferSize) PWSTR StringBuffer, |
| | _In_ ULONG StringBufferSize, |
| | _Out_opt_ PULONG StringSize |
| | ) PURE; |
| | |
| | // IDebugAdvanced4. |
| | |
| | STDMETHOD(GetSymbolInformationWideEx)( |
| | THIS_ |
| | _In_ ULONG Which, |
| | _In_ ULONG64 Arg64, |
| | _In_ ULONG Arg32, |
| | _Out_writes_bytes_opt_(BufferSize) PVOID Buffer, |
| | _In_ ULONG BufferSize, |
| | _Out_opt_ PULONG InfoSize, |
| | _Out_writes_opt_(StringBufferSize) PWSTR StringBuffer, |
| | _In_ ULONG StringBufferSize, |
| | _Out_opt_ PULONG StringSize, |
| | _Out_opt_ PSYMBOL_INFO_EX pInfoEx |
| | ) PURE; |
| | |
| | }; |
| | |
| //---------------------------------------------------------------------------- | | //---------------------------------------------------------------------------- |
| // | | // |
| // IDebugBreakpoint. | | // IDebugBreakpoint. |
| // | | // |
| //---------------------------------------------------------------------------- | | //---------------------------------------------------------------------------- |
| | |
| // Types of breakpoints. | | // Types of breakpoints. |
| #define DEBUG_BREAKPOINT_CODE 0 | | #define DEBUG_BREAKPOINT_CODE 0 |
| #define DEBUG_BREAKPOINT_DATA 1 | | #define DEBUG_BREAKPOINT_DATA 1 |
| #define DEBUG_BREAKPOINT_TIME 2 | | #define DEBUG_BREAKPOINT_TIME 2 |
| | |
| skipping to change at line 2196 | | skipping to change at line 2388 |
| #define DEBUG_FORMAT_USER_SMALL_PROCESS_THREAD_DATA 0x00000080 | | #define DEBUG_FORMAT_USER_SMALL_PROCESS_THREAD_DATA 0x00000080 |
| #define DEBUG_FORMAT_USER_SMALL_PRIVATE_READ_WRITE_MEMORY 0x00000100 | | #define DEBUG_FORMAT_USER_SMALL_PRIVATE_READ_WRITE_MEMORY 0x00000100 |
| #define DEBUG_FORMAT_USER_SMALL_NO_OPTIONAL_DATA 0x00000200 | | #define DEBUG_FORMAT_USER_SMALL_NO_OPTIONAL_DATA 0x00000200 |
| #define DEBUG_FORMAT_USER_SMALL_FULL_MEMORY_INFO 0x00000400 | | #define DEBUG_FORMAT_USER_SMALL_FULL_MEMORY_INFO 0x00000400 |
| #define DEBUG_FORMAT_USER_SMALL_THREAD_INFO 0x00000800 | | #define DEBUG_FORMAT_USER_SMALL_THREAD_INFO 0x00000800 |
| #define DEBUG_FORMAT_USER_SMALL_CODE_SEGMENTS 0x00001000 | | #define DEBUG_FORMAT_USER_SMALL_CODE_SEGMENTS 0x00001000 |
| #define DEBUG_FORMAT_USER_SMALL_NO_AUXILIARY_STATE 0x00002000 | | #define DEBUG_FORMAT_USER_SMALL_NO_AUXILIARY_STATE 0x00002000 |
| #define DEBUG_FORMAT_USER_SMALL_FULL_AUXILIARY_STATE 0x00004000 | | #define DEBUG_FORMAT_USER_SMALL_FULL_AUXILIARY_STATE 0x00004000 |
| #define DEBUG_FORMAT_USER_SMALL_MODULE_HEADERS 0x00008000 | | #define DEBUG_FORMAT_USER_SMALL_MODULE_HEADERS 0x00008000 |
| #define DEBUG_FORMAT_USER_SMALL_FILTER_TRIAGE 0x00010000 | | #define DEBUG_FORMAT_USER_SMALL_FILTER_TRIAGE 0x00010000 |
|
| | #define DEBUG_FORMAT_USER_SMALL_ADD_AVX_XSTATE_CONTEXT 0x00020000 |
| #define DEBUG_FORMAT_USER_SMALL_IGNORE_INACCESSIBLE_MEM 0x08000000 | | #define DEBUG_FORMAT_USER_SMALL_IGNORE_INACCESSIBLE_MEM 0x08000000 |
| | |
| // | | // |
| // Dump information file types. | | // Dump information file types. |
| // | | // |
| | |
| // Base dump file, returned when querying for dump files. | | // Base dump file, returned when querying for dump files. |
| #define DEBUG_DUMP_FILE_BASE 0xffffffff | | #define DEBUG_DUMP_FILE_BASE 0xffffffff |
| // Single file containing packed page file information. | | // Single file containing packed page file information. |
| #define DEBUG_DUMP_FILE_PAGE_FILE_DUMP 0x00000000 | | #define DEBUG_DUMP_FILE_PAGE_FILE_DUMP 0x00000000 |
| | |
| skipping to change at line 6320 | | skipping to change at line 6513 |
| // ExecuteCommandFile also echoes the prompt | | // ExecuteCommandFile also echoes the prompt |
| // for each line of the file. | | // for each line of the file. |
| #define DEBUG_EXECUTE_ECHO 0x00000001 | | #define DEBUG_EXECUTE_ECHO 0x00000001 |
| // Do not log or output commands during execution. | | // Do not log or output commands during execution. |
| // Overridden by DEBUG_EXECUTE_ECHO. | | // Overridden by DEBUG_EXECUTE_ECHO. |
| #define DEBUG_EXECUTE_NOT_LOGGED 0x00000002 | | #define DEBUG_EXECUTE_NOT_LOGGED 0x00000002 |
| // If this flag is not set an empty string | | // If this flag is not set an empty string |
| // to Execute will repeat the last Execute | | // to Execute will repeat the last Execute |
| // string. | | // string. |
| #define DEBUG_EXECUTE_NO_REPEAT 0x00000004 | | #define DEBUG_EXECUTE_NO_REPEAT 0x00000004 |
|
| | // If this flag is set , the source of command |
| | // execution is user typing from remote session. |
| | #define DEBUG_EXECUTE_USER_TYPED 0x00000008 |
| | // If this flag is set , the source of command |
| | // execution is user clicking from remote session. |
| | #define DEBUG_EXECUTE_USER_CLICKED 0x00000010 |
| | // If this flag is set , the source of command |
| | // execution is debugger extension. |
| | #define DEBUG_EXECUTE_EXTENSION 0x00000020 |
| | // If this flag is set , the source of command |
| | // execution is internal command like debugger setup. |
| | #define DEBUG_EXECUTE_INTERNAL 0x00000040 |
| | // If this flag is set , the source of command |
| | // execution is debugger script. |
| | #define DEBUG_EXECUTE_SCRIPT 0x00000080 |
| | // If this flag is set, the source of command |
| | // execution is a toolbar button. |
| | #define DEBUG_EXECUTE_TOOLBAR 0x00000100 |
| | // If this flag is set, the source of command |
| | // execution is a menu item. |
| | #define DEBUG_EXECUTE_MENU 0x00000200 |
| | // If this flag is set, the source of command |
| | // execution is a keyboard shortcut or hotkey. |
| | #define DEBUG_EXECUTE_HOTKEY 0x00000400 |
| | // If this flag is set, the source of command |
| | // execution is a command registered on an event. |
| | #define DEBUG_EXECUTE_EVENT 0x00000800 |
| | |
| // Specific event filter types. Some event | | // Specific event filter types. Some event |
| // filters have optional arguments to further | | // filters have optional arguments to further |
| // qualify their operation. | | // qualify their operation. |
| #define DEBUG_FILTER_CREATE_THREAD 0x00000000 | | #define DEBUG_FILTER_CREATE_THREAD 0x00000000 |
| #define DEBUG_FILTER_EXIT_THREAD 0x00000001 | | #define DEBUG_FILTER_EXIT_THREAD 0x00000001 |
| #define DEBUG_FILTER_CREATE_PROCESS 0x00000002 | | #define DEBUG_FILTER_CREATE_PROCESS 0x00000002 |
| #define DEBUG_FILTER_EXIT_PROCESS 0x00000003 | | #define DEBUG_FILTER_EXIT_PROCESS 0x00000003 |
| // Argument is the name of a module to break on. | | // Argument is the name of a module to break on. |
| #define DEBUG_FILTER_LOAD_MODULE 0x00000004 | | #define DEBUG_FILTER_LOAD_MODULE 0x00000004 |
| | |
| skipping to change at line 15353 | | skipping to change at line 15573 |
| CHAR VendorString[16]; | | CHAR VendorString[16]; |
| } DEBUG_PROCESSOR_IDENTIFICATION_X86, *PDEBUG_PROCESSOR_IDENTIFICATION_X86; | | } DEBUG_PROCESSOR_IDENTIFICATION_X86, *PDEBUG_PROCESSOR_IDENTIFICATION_X86; |
| | |
| typedef struct _DEBUG_PROCESSOR_IDENTIFICATION_ARM | | typedef struct _DEBUG_PROCESSOR_IDENTIFICATION_ARM |
| { | | { |
| ULONG Model; | | ULONG Model; |
| ULONG Revision; | | ULONG Revision; |
| CHAR VendorString[16]; | | CHAR VendorString[16]; |
| } DEBUG_PROCESSOR_IDENTIFICATION_ARM, *PDEBUG_PROCESSOR_IDENTIFICATION_ARM; | | } DEBUG_PROCESSOR_IDENTIFICATION_ARM, *PDEBUG_PROCESSOR_IDENTIFICATION_ARM; |
| | |
|
| | typedef struct _DEBUG_PROCESSOR_IDENTIFICATION_ARM64 |
| | { |
| | ULONG Model; |
| | ULONG Revision; |
| | CHAR VendorString[16]; |
| | } DEBUG_PROCESSOR_IDENTIFICATION_ARM64, *PDEBUG_PROCESSOR_IDENTIFICATION_ARM64; |
| | |
| typedef union _DEBUG_PROCESSOR_IDENTIFICATION_ALL | | typedef union _DEBUG_PROCESSOR_IDENTIFICATION_ALL |
| { | | { |
| DEBUG_PROCESSOR_IDENTIFICATION_ALPHA Alpha; | | DEBUG_PROCESSOR_IDENTIFICATION_ALPHA Alpha; |
| DEBUG_PROCESSOR_IDENTIFICATION_AMD64 Amd64; | | DEBUG_PROCESSOR_IDENTIFICATION_AMD64 Amd64; |
| DEBUG_PROCESSOR_IDENTIFICATION_IA64 Ia64; | | DEBUG_PROCESSOR_IDENTIFICATION_IA64 Ia64; |
| DEBUG_PROCESSOR_IDENTIFICATION_X86 X86; | | DEBUG_PROCESSOR_IDENTIFICATION_X86 X86; |
| DEBUG_PROCESSOR_IDENTIFICATION_ARM Arm; | | DEBUG_PROCESSOR_IDENTIFICATION_ARM Arm; |
|
| | DEBUG_PROCESSOR_IDENTIFICATION_ARM64 Arm64; |
| } DEBUG_PROCESSOR_IDENTIFICATION_ALL, *PDEBUG_PROCESSOR_IDENTIFICATION_ALL; | | } DEBUG_PROCESSOR_IDENTIFICATION_ALL, *PDEBUG_PROCESSOR_IDENTIFICATION_ALL; |
| | |
| // Indices for ReadProcessorSystemData. | | // Indices for ReadProcessorSystemData. |
| #define DEBUG_DATA_KPCR_OFFSET 0 | | #define DEBUG_DATA_KPCR_OFFSET 0 |
| #define DEBUG_DATA_KPRCB_OFFSET 1 | | #define DEBUG_DATA_KPRCB_OFFSET 1 |
| #define DEBUG_DATA_KTHREAD_OFFSET 2 | | #define DEBUG_DATA_KTHREAD_OFFSET 2 |
| #define DEBUG_DATA_BASE_TRANSLATION_VIRTUAL_OFFSET 3 | | #define DEBUG_DATA_BASE_TRANSLATION_VIRTUAL_OFFSET 3 |
| #define DEBUG_DATA_PROCESSOR_IDENTIFICATION 4 | | #define DEBUG_DATA_PROCESSOR_IDENTIFICATION 4 |
| #define DEBUG_DATA_PROCESSOR_SPEED 5 | | #define DEBUG_DATA_PROCESSOR_SPEED 5 |
| | |
| | |
| skipping to change at line 15578 | | skipping to change at line 15806 |
| #define DEBUG_HANDLE_DATA_TYPE_OBJECT_NAME_WIDE 5 | | #define DEBUG_HANDLE_DATA_TYPE_OBJECT_NAME_WIDE 5 |
| #define DEBUG_HANDLE_DATA_TYPE_MINI_THREAD_1 6 | | #define DEBUG_HANDLE_DATA_TYPE_MINI_THREAD_1 6 |
| #define DEBUG_HANDLE_DATA_TYPE_MINI_MUTANT_1 7 | | #define DEBUG_HANDLE_DATA_TYPE_MINI_MUTANT_1 7 |
| #define DEBUG_HANDLE_DATA_TYPE_MINI_MUTANT_2 8 | | #define DEBUG_HANDLE_DATA_TYPE_MINI_MUTANT_2 8 |
| #define DEBUG_HANDLE_DATA_TYPE_PER_HANDLE_OPERATIONS 9 | | #define DEBUG_HANDLE_DATA_TYPE_PER_HANDLE_OPERATIONS 9 |
| #define DEBUG_HANDLE_DATA_TYPE_ALL_HANDLE_OPERATIONS 10 | | #define DEBUG_HANDLE_DATA_TYPE_ALL_HANDLE_OPERATIONS 10 |
| #define DEBUG_HANDLE_DATA_TYPE_MINI_PROCESS_1 11 | | #define DEBUG_HANDLE_DATA_TYPE_MINI_PROCESS_1 11 |
| #define DEBUG_HANDLE_DATA_TYPE_MINI_PROCESS_2 12 | | #define DEBUG_HANDLE_DATA_TYPE_MINI_PROCESS_2 12 |
| #define DEBUG_HANDLE_DATA_TYPE_MINI_EVENT_1 13 | | #define DEBUG_HANDLE_DATA_TYPE_MINI_EVENT_1 13 |
| #define DEBUG_HANDLE_DATA_TYPE_MINI_SECTION_1 14 | | #define DEBUG_HANDLE_DATA_TYPE_MINI_SECTION_1 14 |
|
| | #define DEBUG_HANDLE_DATA_TYPE_MINI_SEMAPHORE_1 15 |
| | |
| typedef struct _DEBUG_HANDLE_DATA_BASIC | | typedef struct _DEBUG_HANDLE_DATA_BASIC |
| { | | { |
| ULONG TypeNameSize; | | ULONG TypeNameSize; |
| ULONG ObjectNameSize; | | ULONG ObjectNameSize; |
| ULONG Attributes; | | ULONG Attributes; |
| ULONG GrantedAccess; | | ULONG GrantedAccess; |
| ULONG HandleCount; | | ULONG HandleCount; |
| ULONG PointerCount; | | ULONG PointerCount; |
| } DEBUG_HANDLE_DATA_BASIC, *PDEBUG_HANDLE_DATA_BASIC; | | } DEBUG_HANDLE_DATA_BASIC, *PDEBUG_HANDLE_DATA_BASIC; |
| | |
| skipping to change at line 16739 | | skipping to change at line 16968 |
| // Current symbol scope changed. | | // Current symbol scope changed. |
| #define DEBUG_CSS_SCOPE 0x00000004 | | #define DEBUG_CSS_SCOPE 0x00000004 |
| // Paths have changed. | | // Paths have changed. |
| #define DEBUG_CSS_PATHS 0x00000008 | | #define DEBUG_CSS_PATHS 0x00000008 |
| // Symbol options have changed. Argument is the new | | // Symbol options have changed. Argument is the new |
| // options value. | | // options value. |
| #define DEBUG_CSS_SYMBOL_OPTIONS 0x00000010 | | #define DEBUG_CSS_SYMBOL_OPTIONS 0x00000010 |
| // Type options have changed. Argument is the new | | // Type options have changed. Argument is the new |
| // options value. | | // options value. |
| #define DEBUG_CSS_TYPE_OPTIONS 0x00000020 | | #define DEBUG_CSS_TYPE_OPTIONS 0x00000020 |
|
| | // Inform that the current Scope Symbol format has been changed, |
| | // so the client needs to update the symbols on Locals/Watch/.. |
| | // and the engine will collapse any expanded child |
| | #define DEBUG_CSS_COLLAPSE_CHILDREN 0x00000040 |
| | |
| #undef INTERFACE | | #undef INTERFACE |
| #define INTERFACE IDebugEventCallbacks | | #define INTERFACE IDebugEventCallbacks |
| DECLARE_INTERFACE_(IDebugEventCallbacks, IUnknown) | | DECLARE_INTERFACE_(IDebugEventCallbacks, IUnknown) |
| { | | { |
| // IUnknown. | | // IUnknown. |
| STDMETHOD(QueryInterface)( | | STDMETHOD(QueryInterface)( |
| THIS_ | | THIS_ |
| _In_ REFIID InterfaceId, | | _In_ REFIID InterfaceId, |
| _Out_ PVOID* Interface | | _Out_ PVOID* Interface |
| | |
| skipping to change at line 18164 | | skipping to change at line 18397 |
| ULONG ModuleNameSize; | | ULONG ModuleNameSize; |
| ULONG LoadedImageNameSize; | | ULONG LoadedImageNameSize; |
| ULONG SymbolFileNameSize; | | ULONG SymbolFileNameSize; |
| ULONG MappedImageNameSize; | | ULONG MappedImageNameSize; |
| ULONG64 Reserved[2]; | | ULONG64 Reserved[2]; |
| } DEBUG_MODULE_PARAMETERS, *PDEBUG_MODULE_PARAMETERS; | | } DEBUG_MODULE_PARAMETERS, *PDEBUG_MODULE_PARAMETERS; |
| | |
| // Scope arguments are function arguments | | // Scope arguments are function arguments |
| // and thus only change when the scope | | // and thus only change when the scope |
| // crosses functions. | | // crosses functions. |
|
| #define DEBUG_SCOPE_GROUP_ARGUMENTS 0x00000001 | | #define DEBUG_SCOPE_GROUP_ARGUMENTS 0x00000001 |
| // Scope locals are locals declared in a particular | | // Scope locals are locals declared in a particular |
| // scope and are only defined within that scope. | | // scope and are only defined within that scope. |
|
| #define DEBUG_SCOPE_GROUP_LOCALS 0x00000002 | | #define DEBUG_SCOPE_GROUP_LOCALS 0x00000002 |
| // All symbols in the scope. | | // All symbols in the scope. |
|
| #define DEBUG_SCOPE_GROUP_ALL 0x00000003 | | #define DEBUG_SCOPE_GROUP_ALL 0x00000003 |
| | // Get Debug Symbols by using Data Model engine |
| | #define DEBUG_SCOPE_GROUP_BY_DATAMODEL 0x00000004 |
| | // Valid flags for the set of DEBUG_SCOPE_GROUP |
| | // If you add a new flag, then please add it to DEBUG_SCOPE_GROUP_VALID_FLAGS |
| | #define DEBUG_SCOPE_GROUP_VALID_FLAGS (DEBUG_SCOPE_GROUP_ALL | DEBUG_SCOPE_GROUP |
| | _BY_DATAMODEL) |
| | |
| // Typed data output control flags. | | // Typed data output control flags. |
| #define DEBUG_OUTTYPE_DEFAULT 0x00000000 | | #define DEBUG_OUTTYPE_DEFAULT 0x00000000 |
| #define DEBUG_OUTTYPE_NO_INDENT 0x00000001 | | #define DEBUG_OUTTYPE_NO_INDENT 0x00000001 |
| #define DEBUG_OUTTYPE_NO_OFFSET 0x00000002 | | #define DEBUG_OUTTYPE_NO_OFFSET 0x00000002 |
| #define DEBUG_OUTTYPE_VERBOSE 0x00000004 | | #define DEBUG_OUTTYPE_VERBOSE 0x00000004 |
| #define DEBUG_OUTTYPE_COMPACT_OUTPUT 0x00000008 | | #define DEBUG_OUTTYPE_COMPACT_OUTPUT 0x00000008 |
| #define DEBUG_OUTTYPE_RECURSION_LEVEL(Max) (((Max) & 0xf) << 4) | | #define DEBUG_OUTTYPE_RECURSION_LEVEL(Max) (((Max) & 0xf) << 4) |
| #define DEBUG_OUTTYPE_ADDRESS_OF_FIELD 0x00010000 | | #define DEBUG_OUTTYPE_ADDRESS_OF_FIELD 0x00010000 |
| #define DEBUG_OUTTYPE_ADDRESS_AT_END 0x00020000 | | #define DEBUG_OUTTYPE_ADDRESS_AT_END 0x00020000 |
| | |
| skipping to change at line 24770 | | skipping to change at line 25008 |
| #define IDebugEventCallbacksT IDebugEventCallbacksWide | | #define IDebugEventCallbacksT IDebugEventCallbacksWide |
| #define IID_IDebugEventCallbacksT IID_IDebugEventCallbacksWide | | #define IID_IDebugEventCallbacksT IID_IDebugEventCallbacksWide |
| #define IDebugOutputCallbacksT IDebugOutputCallbacksWide | | #define IDebugOutputCallbacksT IDebugOutputCallbacksWide |
| #define IID_IDebugOutputCallbacksT IID_IDebugOutputCallbacksWide | | #define IID_IDebugOutputCallbacksT IID_IDebugOutputCallbacksWide |
| #define DebugBaseEventCallbacksT DebugBaseEventCallbacksWide | | #define DebugBaseEventCallbacksT DebugBaseEventCallbacksWide |
| | |
| #define DebugConnectT DebugConnectWide | | #define DebugConnectT DebugConnectWide |
| #define GetSourceFileInformationT GetSourceFileInformationWide | | #define GetSourceFileInformationT GetSourceFileInformationWide |
| #define FindSourceFileAndTokenT FindSourceFileAndTokenWide | | #define FindSourceFileAndTokenT FindSourceFileAndTokenWide |
| #define GetSymbolInformationT GetSymbolInformationWide | | #define GetSymbolInformationT GetSymbolInformationWide |
|
| | #define GetSymbolInformationExT GetSymbolInformationWideEx |
| #define GetCommandT GetCommandWide | | #define GetCommandT GetCommandWide |
| #define SetCommandT SetCommandWide | | #define SetCommandT SetCommandWide |
| #define GetOffsetExpressionT GetOffsetExpressionWide | | #define GetOffsetExpressionT GetOffsetExpressionWide |
| #define SetOffsetExpressionT SetOffsetExpressionWide | | #define SetOffsetExpressionT SetOffsetExpressionWide |
| #define GetRunningProcessSystemIdByExecutableNameT GetRunningProcessSystemIdByEx
ecutableNameWide | | #define GetRunningProcessSystemIdByExecutableNameT GetRunningProcessSystemIdByEx
ecutableNameWide |
| #define GetRunningProcessDescriptionT GetRunningProcessDescriptionWide | | #define GetRunningProcessDescriptionT GetRunningProcessDescriptionWide |
| #define CreateProcessT CreateProcessWide | | #define CreateProcessT CreateProcessWide |
| #define CreateProcessAndAttachT CreateProcessAndAttachWide | | #define CreateProcessAndAttachT CreateProcessAndAttachWide |
| #define AddDumpInformationFileT AddDumpInformationFileWide | | #define AddDumpInformationFileT AddDumpInformationFileWide |
| #define GetDumpFileT GetDumpFileWide | | #define GetDumpFileT GetDumpFileWide |
| | |
| End of changes. 14 change blocks. |
| 3 lines changed or deleted | | 246 lines changed or added |
|