Rizin
unix-like reverse engineering framework and cli tools
dmp_specs.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2020 abcSup <zifan.tan@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef DMP_SPECS_H
5 #define DMP_SPECS_H
6 
7 #include <rz_types_base.h>
8 
10 
11 #define DMP64_MAGIC "\x50\x41\x47\x45\x44\x55\x36\x34" // PAGEDU64
12 #define DMP_BMP_MAGIC "\x53\x44\x4d\x50\x44\x55\x4d\x50" // SDMPDUMP
13 #define DMP_BMP_FULL_MAGIC "\x46\x44\x4d\x50\x44\x55\x4d\x50" // FDMPDUMP
14 #define DMP_UNUSED_MAGIC "\x50\x41\x47\x45" // PAGE
15 
16 #define DMP_DUMPTYPE_UNKNOWN 0
17 #define DMP_DUMPTYPE_FULL 1
18 #define DMP_DUMPTYPE_SUMMARY 2
19 #define DMP_DUMPTYPE_HEADER 3
20 #define DMP_DUMPTYPE_TRIAGE 4
21 #define DMP_DUMPTYPE_BITMAPFULL 5
22 #define DMP_DUMPTYPE_BITMAPKERNEL 6
23 #define DMP_DUMPTYPE_AUTOMATIC 7
24 
25 #define DMP_PAGE_SIZE 0x1000
26 
27 typedef struct _PHYSICAL_MEMORY_RUN {
31 
32 #define DMP_PHYSICAL_MEMORY_BLOCK_SIZE 700
33 #define DMP_CONTEXT_RECORD_SIZE_64 3000
34 #define DMP_CONTEXT_RECORD_SIZE_32 1200
35 
41 
48 
49 typedef struct {
50  ut8 Signature[4];
51  ut8 ValidDump[4];
65  ut8 VersionUser[32];
68  ut8 VersionUser2[2];
70  union {
72  ut8 PhysicalMemoryBlockBuffer[DMP_PHYSICAL_MEMORY_BLOCK_SIZE];
73  };
74  ut8 ContextRecord[DMP_CONTEXT_RECORD_SIZE_32]; // 0x320 0x2cc bytes
75  struct windows_exception_record32 Exception; // 0x7d0
76  ut8 Comment[128];
86  ut8 reserved3[56];
87 } dmp32_header;
88 
89 typedef struct {
90  ut8 Signature[4];
91  ut8 ValidDump[4];
95  ut64 PfnDataBase; // nt!_MMPFN
101  ut8 _padding1[0x4];
106  char VersionUser[32];
108  union {
110  ut8 PhysicalMemoryBlockBuffer[DMP_PHYSICAL_MEMORY_BLOCK_SIZE];
111  };
112  ut8 ContextRecord[DMP_CONTEXT_RECORD_SIZE_64]; // 0x348 0x4d0 bytes
113  struct windows_exception_record64 Exception; // 0xf00 0x98 bytes
114  ut32 DumpType; // 0xf98 0x4 bytes
115  ut8 _padding2[0x4];
118  ut8 Comment[128];
127  ut8 Unused[2];
128  ut8 _reserved0[4016];
129 } dmp64_header;
130 
131 typedef struct {
132  ut8 Signature[4];
133  ut8 ValidDump[4];
134  ut8 _padding1[0x18];
138  ut8 Bitmap[1];
140 
141 typedef struct {
144  ut32 ValidOffset; // Offset valid ULONG
145  ut32 ContextOffset; // CONTEXT
146  ut32 ExceptionOffset; // EXCEPTION
147  ut32 MmOffset; // Mm
149  ut32 PrcbOffset; // KPRCB
150  ut32 ProcessOffset; // EPROCESS
151  ut32 ThreadOffset; // ETHREAD
154  ut32 DriverListOffset; // dmp_driver_entry32
156  ut32 StringPoolOffset; // dmp_string
166  ut32 DataBlocksOffset; // dmp32_triage_datablock
168 } dmp32_triage;
169 
170 typedef struct {
173  ut32 ValidOffset; // Offset valid ULONG
174  ut32 ContextOffset; // CONTEXT
175  ut32 ExceptionOffset; // EXCEPTION
176  ut32 MmOffset; // Mm
178  ut32 PrcbOffset; // KPRCB
179  ut32 ProcessOffset; // EPROCESS
180  ut32 ThreadOffset; // ETHREAD
183  ut32 DriverListOffset; // dmp_driver_entry64
185  ut32 StringPoolOffset; // dmp_string
190  union {
191  struct {
195  } Ia64;
196  } ArchitectureSpecific;
202  ut32 DataBlocksOffset; // dmp64_triage_datablock
204 } dmp64_triage;
205 
206 typedef struct {
211 
212 typedef struct {
217 
218 typedef struct {
222 
223 typedef struct {
227 
228 typedef struct {
231  ut64 buffer; // wchar
233 
234 typedef struct {
237  ut32 buffer; // wchar
239 
240 typedef struct {
258 
259 typedef struct {
279 
280 typedef struct {
284 
285 typedef struct {
290 
291 typedef struct {
293  ut16 buffer[0]; // Wide unicode string
294 } dmp_string;
295 
296 // Bug check codes
297 
298 #define APC_INDEX_MISMATCH 0x00000001
299 #define DEVICE_QUEUE_NOT_BUSY 0x00000002
300 #define INVALID_AFFINITY_SET 0x00000003
301 #define INVALID_DATA_ACCESS_TRAP 0x00000004
302 #define INVALID_PROCESS_ATTACH_ATTEMPT 0x00000005
303 #define INVALID_PROCESS_DETACH_ATTEMPT 0x00000006
304 #define INVALID_SOFTWARE_INTERRUPT 0x00000007
305 #define IRQL_NOT_DISPATCH_LEVEL 0x00000008
306 #define IRQL_NOT_GREATER_OR_EQUAL 0x00000009
307 #define IRQL_NOT_LESS_OR_EQUAL 0x0000000A
308 #define NO_EXCEPTION_HANDLING_SUPPORT 0x0000000B
309 #define MAXIMUM_WAIT_OBJECTS_EXCEEDED 0x0000000C
310 #define MUTEX_LEVEL_NUMBER_VIOLATION 0x0000000D
311 #define NO_USER_MODE_CONTEXT 0x0000000E
312 #define SPIN_LOCK_ALREADY_OWNED 0x0000000F
313 #define SPIN_LOCK_NOT_OWNED 0x00000010
314 #define THREAD_NOT_MUTEX_OWNER 0x00000011
315 #define TRAP_CAUSE_UNKNOWN 0x00000012
316 #define EMPTY_THREAD_REAPER_LIST 0x00000013
317 #define CREATE_DELETE_LOCK_NOT_LOCKED 0x00000014
318 #define LAST_CHANCE_CALLED_FROM_KMODE 0x00000015
319 #define CID_HANDLE_CREATION 0x00000016
320 #define CID_HANDLE_DELETION 0x00000017
321 #define REFERENCE_BY_POINTER 0x00000018
322 #define BAD_POOL_HEADER 0x00000019
323 #define MEMORY_MANAGEMENT 0x0000001A
324 #define PFN_SHARE_COUNT 0x0000001B
325 #define PFN_REFERENCE_COUNT 0x0000001C
326 #define NO_SPIN_LOCK_AVAILABLE 0x0000001D
327 #define KMODE_EXCEPTION_NOT_HANDLED 0x0000001E
328 #define SHARED_RESOURCE_CONV_ERROR 0x0000001F
329 #define KERNEL_APC_PENDING_DURING_EXIT 0x00000020
330 #define QUOTA_UNDERFLOW 0x00000021
331 #define FILE_SYSTEM 0x00000022
332 #define FAT_FILE_SYSTEM 0x00000023
333 #define NTFS_FILE_SYSTEM 0x00000024
334 #define NPFS_FILE_SYSTEM 0x00000025
335 #define CDFS_FILE_SYSTEM 0x00000026
336 #define RDR_FILE_SYSTEM 0x00000027
337 #define CORRUPT_ACCESS_TOKEN 0x00000028
338 #define SECURITY_SYSTEM 0x00000029
339 #define INCONSISTENT_IRP 0x0000002A
340 #define PANIC_STACK_SWITCH 0x0000002B
341 #define PORT_DRIVER_INTERNAL 0x0000002C
342 #define SCSI_DISK_DRIVER_INTERNAL 0x0000002D
343 #define DATA_BUS_ERROR 0x0000002E
344 #define INSTRUCTION_BUS_ERROR 0x0000002F
345 #define SET_OF_INVALID_CONTEXT 0x00000030
346 #define PHASE0_INITIALIZATION_FAILED 0x00000031
347 #define PHASE1_INITIALIZATION_FAILED 0x00000032
348 #define UNEXPECTED_INITIALIZATION_CALL 0x00000033
349 #define CACHE_MANAGER 0x00000034
350 #define NO_MORE_IRP_STACK_LOCATIONS 0x00000035
351 #define DEVICE_REFERENCE_COUNT_NOT_ZERO 0x00000036
352 #define FLOPPY_INTERNAL_ERROR 0x00000037
353 #define SERIAL_DRIVER_INTERNAL 0x00000038
354 #define SYSTEM_EXIT_OWNED_MUTEX 0x00000039
355 #define SYSTEM_UNWIND_PREVIOUS_USER 0x0000003A
356 #define SYSTEM_SERVICE_EXCEPTION 0x0000003B
357 #define INTERRUPT_UNWIND_ATTEMPTED 0x0000003C
358 #define INTERRUPT_EXCEPTION_NOT_HANDLED 0x0000003D
359 #define MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED 0x0000003E
360 #define NO_MORE_SYSTEM_PTES 0x0000003F
361 #define TARGET_MDL_TOO_SMALL 0x00000040
362 #define MUST_SUCCEED_POOL_EMPTY 0x00000041
363 #define ATDISK_DRIVER_INTERNAL 0x00000042
364 #define NO_SUCH_PARTITION 0x00000043
365 #define MULTIPLE_IRP_COMPLETE_REQUESTS 0x00000044
366 #define INSUFFICIENT_SYSTEM_MAP_REGS 0x00000045
367 #define DEREF_UNKNOWN_LOGON_SESSION 0x00000046
368 #define REF_UNKNOWN_LOGON_SESSION 0x00000047
369 #define CANCEL_STATE_IN_COMPLETED_IRP 0x00000048
370 #define PAGE_FAULT_WITH_INTERRUPTS_OFF 0x00000049
371 #define IRQL_GT_ZERO_AT_SYSTEM_SERVICE 0x0000004A
372 #define STREAMS_INTERNAL_ERROR 0x0000004B
373 #define FATAL_UNHANDLED_HARD_ERROR 0x0000004C
374 #define NO_PAGES_AVAILABLE 0x0000004D
375 #define PFN_LIST_CORRUPT 0x0000004E
376 #define NDIS_INTERNAL_ERROR 0x0000004F
377 #define PAGE_FAULT_IN_NONPAGED_AREA 0x00000050
378 #define REGISTRY_ERROR 0x00000051
379 #define MAILSLOT_FILE_SYSTEM 0x00000052
380 #define NO_BOOT_DEVICE 0x00000053
381 #define LM_SERVER_INTERNAL_ERROR 0x00000054
382 #define DATA_COHERENCY_EXCEPTION 0x00000055
383 #define INSTRUCTION_COHERENCY_EXCEPTION 0x00000056
384 #define XNS_INTERNAL_ERROR 0x00000057
385 #define FTDISK_INTERNAL_ERROR 0x00000058
386 #define PINBALL_FILE_SYSTEM 0x00000059
387 #define CRITICAL_SERVICE_FAILED 0x0000005A
388 #define SET_ENV_VAR_FAILED 0x0000005B
389 #define HAL_INITIALIZATION_FAILED 0x0000005C
390 #define UNSUPPORTED_PROCESSOR 0x0000005D
391 #define OBJECT_INITIALIZATION_FAILED 0x0000005E
392 #define SECURITY_INITIALIZATION_FAILED 0x0000005F
393 #define PROCESS_INITIALIZATION_FAILED 0x00000060
394 #define HAL1_INITIALIZATION_FAILED 0x00000061
395 #define OBJECT1_INITIALIZATION_FAILED 0x00000062
396 #define SECURITY1_INITIALIZATION_FAILED 0x00000063
397 #define SYMBOLIC_INITIALIZATION_FAILED 0x00000064
398 #define MEMORY1_INITIALIZATION_FAILED 0x00000065
399 #define CACHE_INITIALIZATION_FAILED 0x00000066
400 #define CONFIG_INITIALIZATION_FAILED 0x00000067
401 #define FILE_INITIALIZATION_FAILED 0x00000068
402 #define IO1_INITIALIZATION_FAILED 0x00000069
403 #define LPC_INITIALIZATION_FAILED 0x0000006A
404 #define PROCESS1_INITIALIZATION_FAILED 0x0000006B
405 #define REFMON_INITIALIZATION_FAILED 0x0000006C
406 #define SESSION1_INITIALIZATION_FAILED 0x0000006D
407 #define SESSION2_INITIALIZATION_FAILED 0x0000006E
408 #define SESSION3_INITIALIZATION_FAILED 0x0000006F
409 #define SESSION4_INITIALIZATION_FAILED 0x00000070
410 #define SESSION5_INITIALIZATION_FAILED 0x00000071
411 #define ASSIGN_DRIVE_LETTERS_FAILED 0x00000072
412 #define CONFIG_LIST_FAILED 0x00000073
413 #define BAD_SYSTEM_CONFIG_INFO 0x00000074
414 #define CANNOT_WRITE_CONFIGURATION 0x00000075
415 #define PROCESS_HAS_LOCKED_PAGES 0x00000076
416 #define KERNEL_STACK_INPAGE_ERROR 0x00000077
417 #define PHASE0_EXCEPTION 0x00000078
418 #define MISMATCHED_HAL 0x00000079
419 #define KERNEL_DATA_INPAGE_ERROR 0x0000007A
420 #define INACCESSIBLE_BOOT_DEVICE 0x0000007B
421 #define BUGCODE_NDIS_DRIVER 0x0000007C
422 #define INSTALL_MORE_MEMORY 0x0000007D
423 #define SYSTEM_THREAD_EXCEPTION_NOT_HANDLED 0x0000007E
424 #define UNEXPECTED_KERNEL_MODE_TRAP 0x0000007F
425 #define NMI_HARDWARE_FAILURE 0x00000080
426 #define SPIN_LOCK_INIT_FAILURE 0x00000081
427 #define DFS_FILE_SYSTEM 0x00000082
428 #define SETUP_FAILURE 0x00000085
429 #define MBR_CHECKSUM_MISMATCH 0x0000008B
430 #define KERNEL_MODE_EXCEPTION_NOT_HANDLED 0x0000008E
431 #define PP0_INITIALIZATION_FAILED 0x0000008F
432 #define PP1_INITIALIZATION_FAILED 0x00000090
433 #define UP_DRIVER_ON_MP_SYSTEM 0x00000092
434 #define INVALID_KERNEL_HANDLE 0x00000093
435 #define KERNEL_STACK_LOCKED_AT_EXIT 0x00000094
436 #define INVALID_WORK_QUEUE_ITEM 0x00000096
437 #define BOUND_IMAGE_UNSUPPORTED 0x00000097
438 #define END_OF_NT_EVALUATION_PERIOD 0x00000098
439 #define INVALID_REGION_OR_SEGMENT 0x00000099
440 #define SYSTEM_LICENSE_VIOLATION 0x0000009A
441 #define UDFS_FILE_SYSTEM 0x0000009B
442 #define MACHINE_CHECK_EXCEPTION 0x0000009C
443 #define USER_MODE_HEALTH_MONITOR 0x0000009E
444 #define DRIVER_POWER_STATE_FAILURE 0x0000009F
445 #define INTERNAL_POWER_ERROR 0x000000A0
446 #define PCI_BUS_DRIVER_INTERNAL 0x000000A1
447 #define MEMORY_IMAGE_CORRUPT 0x000000A2
448 #define ACPI_DRIVER_INTERNAL 0x000000A3
449 #define CNSS_FILE_SYSTEM_FILTER 0x000000A4
450 #define ACPI_BIOS_ERROR 0x000000A5
451 #define BAD_EXHANDLE 0x000000A7
452 #define HAL_MEMORY_ALLOCATION 0x000000AC
453 #define VIDEO_DRIVER_DEBUG_REPORT_REQUEST 0x000000AD
454 #define BGI_DETECTED_VIOLATION 0x000000B1
455 #define VIDEO_DRIVER_INIT_FAILURE 0x000000B4
456 #define ATTEMPTED_SWITCH_FROM_DPC 0x000000B8
457 #define CHIPSET_DETECTED_ERROR 0x000000B9
458 #define SESSION_HAS_VALID_VIEWS_ON_EXIT 0x000000BA
459 #define NETWORK_BOOT_INITIALIZATION_FAILED 0x000000BB
460 #define NETWORK_BOOT_DUPLICATE_ADDRESS 0x000000BC
461 #define INVALID_HIBERNATED_STATE 0x000000BD
462 #define ATTEMPTED_WRITE_TO_READONLY_MEMORY 0x000000BE
463 #define MUTEX_ALREADY_OWNED 0x000000BF
464 #define SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION 0x000000C1
465 #define BAD_POOL_CALLER 0x000000C2
466 #define DRIVER_VERIFIER_DETECTED_VIOLATION 0x000000C4
467 #define DRIVER_CORRUPTED_EXPOOL 0x000000C5
468 #define DRIVER_CAUGHT_MODIFYING_FREED_POOL 0x000000C6
469 #define TIMER_OR_DPC_INVALID 0x000000C7
470 #define IRQL_UNEXPECTED_VALUE 0x000000C8
471 #define DRIVER_VERIFIER_IOMANAGER_VIOLATION 0x000000C9
472 #define PNP_DETECTED_FATAL_ERROR 0x000000CA
473 #define DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS 0x000000CB
474 #define PAGE_FAULT_IN_FREED_SPECIAL_POOL 0x000000CC
475 #define PAGE_FAULT_BEYOND_END_OF_ALLOCATION 0x000000CD
476 #define DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS 0x000000CE
477 #define TERMINAL_SERVER_DRIVER_MADE_INCORRECT_MEMORY_REFERENCE 0x000000CF
478 #define DRIVER_CORRUPTED_MMPOOL 0x000000D0
479 #define DRIVER_IRQL_NOT_LESS_OR_EQUAL 0x000000D1
480 #define BUGCODE_ID_DRIVER 0x000000D2
481 #define DRIVER_PORTION_MUST_BE_NONPAGED 0x000000D3
482 #define SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD 0x000000D4
483 #define DRIVER_PAGE_FAULT_IN_FREED_SPECIAL_POOL 0x000000D5
484 #define DRIVER_PAGE_FAULT_BEYOND_END_OF_ALLOCATION 0x000000D6
485 #define DRIVER_UNMAPPING_INVALID_VIEW 0x000000D7
486 #define DRIVER_USED_EXCESSIVE_PTES 0x000000D8
487 #define LOCKED_PAGES_TRACKER_CORRUPTION 0x000000D9
488 #define SYSTEM_PTE_MISUSE 0x000000DA
489 #define DRIVER_CORRUPTED_SYSPTES 0x000000DB
490 #define DRIVER_INVALID_STACK_ACCESS 0x000000DC
491 #define POOL_CORRUPTION_IN_FILE_AREA 0x000000DE
492 #define IMPERSONATING_WORKER_THREAD 0x000000DF
493 #define ACPI_BIOS_FATAL_ERROR 0x000000E0
494 #define WORKER_THREAD_RETURNED_AT_BAD_IRQL 0x000000E1
495 #define MANUALLY_INITIATED_CRASH 0x000000E2
496 #define RESOURCE_NOT_OWNED 0x000000E3
497 #define WORKER_INVALID 0x000000E4
498 #define DRIVER_VERIFIER_DMA_VIOLATION 0x000000E6
499 #define INVALID_FLOATING_POINT_STATE 0x000000E7
500 #define INVALID_CANCEL_OF_FILE_OPEN 0x000000E8
501 #define ACTIVE_EX_WORKER_THREAD_TERMINATION 0x000000E9
502 #define THREAD_STUCK_IN_DEVICE_DRIVER 0x000000EA
503 #define DIRTY_MAPPED_PAGES_CONGESTION 0x000000EB
504 #define SESSION_HAS_VALID_SPECIAL_POOL_ON_EXIT 0x000000EC
505 #define UNMOUNTABLE_BOOT_VOLUME 0x000000ED
506 #define CRITICAL_PROCESS_DIED 0x000000EF
507 #define STORAGE_MINIPORT_ERROR 0x000000F0
508 #define SCSI_VERIFIER_DETECTED_VIOLATION 0x000000F1
509 #define HARDWARE_INTERRUPT_STORM 0x000000F2
510 #define DISORDERLY_SHUTDOWN 0x000000F3
511 #define CRITICAL_OBJECT_TERMINATION 0x000000F4
512 #define FLTMGR_FILE_SYSTEM 0x000000F5
513 #define PCI_VERIFIER_DETECTED_VIOLATION 0x000000F6
514 #define DRIVER_OVERRAN_STACK_BUFFER 0x000000F7
515 #define RAMDISK_BOOT_INITIALIZATION_FAILED 0x000000F8
516 #define DRIVER_RETURNED_STATUS_REPARSE_FOR_VOLUME_OPEN 0x000000F9
517 #define HTTP_DRIVER_CORRUPTED 0x000000FA
518 #define ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY 0x000000FC
519 #define DIRTY_NOWRITE_PAGES_CONGESTION 0x000000FD
520 #define BUGCODE_USB_DRIVER 0x000000FE
521 #define RESERVE_QUEUE_OVERFLOW 0x000000FF
522 #define LOADER_BLOCK_MISMATCH 0x00000100
523 #define CLOCK_WATCHDOG_TIMEOUT 0x00000101
524 #define DPC_WATCHDOG_TIMEOUT 0x00000102
525 #define MUP_FILE_SYSTEM 0x00000103
526 #define AGP_INVALID_ACCESS 0x00000104
527 #define AGP_GART_CORRUPTION 0x00000105
528 #define AGP_ILLEGALLY_REPROGRAMMED 0x00000106
529 #define THIRD_PARTY_FILE_SYSTEM_FAILURE 0x00000108
530 #define CRITICAL_STRUCTURE_CORRUPTION 0x00000109
531 #define APP_TAGGING_INITIALIZATION_FAILED 0x0000010A
532 #define FSRTL_EXTRA_CREATE_PARAMETER_VIOLATION 0x0000010C
533 #define WDF_VIOLATION 0x0000010D
534 #define VIDEO_MEMORY_MANAGEMENT_INTERNAL 0x0000010E
535 #define RESOURCE_MANAGER_EXCEPTION_NOT_HANDLED 0x0000010F
536 #define RECURSIVE_NMI 0x00000111
537 #define MSRPC_STATE_VIOLATION 0x00000112
538 #define VIDEO_DXGKRNL_FATAL_ERROR 0x00000113
539 #define VIDEO_SHADOW_DRIVER_FATAL_ERROR 0x00000114
540 #define AGP_INTERNAL 0x00000115
541 #define VIDEO_TDR_FAILURE 0x00000116
542 #define VIDEO_TDR_TIMEOUT_DETECTED 0x00000117
543 #define VIDEO_SCHEDULER_INTERNAL_ERROR 0x00000119
544 #define EM_INITIALIZATION_FAILURE 0x0000011A
545 #define DRIVER_RETURNED_HOLDING_CANCEL_LOCK 0x0000011B
546 #define ATTEMPTED_WRITE_TO_CM_PROTECTED_STORAGE 0x0000011C
547 #define EVENT_TRACING_FATAL_ERROR 0x0000011D
548 #define TOO_MANY_RECURSIVE_FAULTS 0x0000011E
549 #define INVALID_DRIVER_HANDLE 0x0000011F
550 #define BITLOCKER_FATAL_ERROR 0x00000120
551 #define DRIVER_VIOLATION 0x00000121
552 #define WHEA_INTERNAL_ERROR 0x00000122
553 #define CRYPTO_SELF_TEST_FAILURE 0x00000123
554 #define NMR_INVALID_STATE 0x00000125
555 #define NETIO_INVALID_POOL_CALLER 0x00000126
556 #define PAGE_NOT_ZERO 0x00000127
557 #define WORKER_THREAD_RETURNED_WITH_BAD_IO_PRIORITY 0x00000128
558 #define WORKER_THREAD_RETURNED_WITH_BAD_PAGING_IO_PRIORITY 0x00000129
559 #define MUI_NO_VALID_SYSTEM_LANGUAGE 0x0000012A
560 #define FAULTY_HARDWARE_CORRUPTED_PAGE 0x0000012B
561 #define EXFAT_FILE_SYSTEM 0x0000012C
562 #define VOLSNAP_OVERLAPPED_TABLE_ACCESS 0x0000012D
563 #define INVALID_MDL_RANGE 0x0000012E
564 #define VHD_BOOT_INITIALIZATION_FAILED 0x0000012F
565 #define DYNAMIC_ADD_PROCESSOR_MISMATCH 0x00000130
566 #define INVALID_EXTENDED_PROCESSOR_STATE 0x00000131
567 #define RESOURCE_OWNER_POINTER_INVALID 0x00000132
568 #define DPC_WATCHDOG_VIOLATION 0x00000133
569 #define DRIVE_EXTENDER 0x00000134
570 #define REGISTRY_FILTER_DRIVER_EXCEPTION 0x00000135
571 #define VHD_BOOT_HOST_VOLUME_NOT_ENOUGH_SPACE 0x00000136
572 #define WIN32K_HANDLE_MANAGER 0x00000137
573 #define GPIO_CONTROLLER_DRIVER_ERROR 0x00000138
574 #define KERNEL_SECURITY_CHECK_FAILURE 0x00000139
575 #define KERNEL_MODE_HEAP_CORRUPTION 0x0000013A
576 #define PASSIVE_INTERRUPT_ERROR 0x0000013B
577 #define INVALID_IO_BOOST_STATE 0x0000013C
578 #define CRITICAL_INITIALIZATION_FAILURE 0x0000013D
579 #define STORAGE_DEVICE_ABNORMALITY_DETECTED 0x00000140
580 #define PROCESSOR_DRIVER_INTERNAL 0x00000143
581 #define BUGCODE_USB3_DRIVER 0x00000144
582 #define SECURE_BOOT_VIOLATION 0x00000145
583 #define ABNORMAL_RESET_DETECTED 0x00000147
584 #define REFS_FILE_SYSTEM 0x00000149
585 #define KERNEL_WMI_INTERNAL 0x0000014A
586 #define SOC_SUBSYSTEM_FAILURE 0x0000014B
587 #define FATAL_ABNORMAL_RESET_ERROR 0x0000014C
588 #define EXCEPTION_SCOPE_INVALID 0x0000014D
589 #define SOC_CRITICAL_DEVICE_REMOVED 0x0000014E
590 #define PDC_WATCHDOG_TIMEOUT 0x0000014F
591 #define TCPIP_AOAC_NIC_ACTIVE_REFERENCE_LEAK 0x00000150
592 #define UNSUPPORTED_INSTRUCTION_MODE 0x00000151
593 #define INVALID_PUSH_LOCK_FLAGS 0x00000152
594 #define KERNEL_LOCK_ENTRY_LEAKED_ON_THREAD_TERMINATION 0x00000153
595 #define UNEXPECTED_STORE_EXCEPTION 0x00000154
596 #define OS_DATA_TAMPERING 0x00000155
597 #define KERNEL_THREAD_PRIORITY_FLOOR_VIOLATION 0x00000157
598 #define ILLEGAL_IOMMU_PAGE_FAULT 0x00000158
599 #define HAL_ILLEGAL_IOMMU_PAGE_FAULT 0x00000159
600 #define SDBUS_INTERNAL_ERROR 0x0000015A
601 #define WORKER_THREAD_RETURNED_WITH_SYSTEM_PAGE_PRIORITY_ACTIVE 0x0000015B
602 #define WIN32K_ATOMIC_CHECK_FAILURE 0x00000160
603 #define KERNEL_AUTO_BOOST_INVALID_LOCK_RELEASE 0x00000162
604 #define WORKER_THREAD_TEST_CONDITION 0x00000163
605 #define INVALID_RUNDOWN_PROTECTION_FLAGS 0x0000016C
606 #define INVALID_SLOT_ALLOCATOR_FLAGS 0x0000016D
607 #define ERESOURCE_INVALID_RELEASE 0x0000016E
608 #define CRYPTO_LIBRARY_INTERNAL_ERROR 0x00000170
609 #define CLUSTER_CSV_CLUSSVC_DISCONNECT_WATCHDOG 0x00000171
610 #define COREMSGCALL_INTERNAL_ERROR 0x00000173
611 #define COREMSG_INTERNAL_ERROR 0x00000174
612 #define ELAM_DRIVER_DETECTED_FATAL_ERROR 0x00000178
613 #define PROFILER_CONFIGURATION_ILLEGAL 0x0000017B
614 #define MICROCODE_REVISION_MISMATCH 0x0000017E
615 #define VIDEO_DWMINIT_TIMEOUT_FALLBACK_BDD 0x00000187
616 #define BAD_OBJECT_HEADER 0x00000189
617 #define SECURE_KERNEL_ERROR 0x0000018B
618 #define HYPERGUARD_VIOLATION 0x0000018C
619 #define SECURE_FAULT_UNHANDLED 0x0000018D
620 #define KERNEL_PARTITION_REFERENCE_VIOLATION 0x0000018E
621 #define PF_DETECTED_CORRUPTION 0x00000191
622 #define KERNEL_AUTO_BOOST_LOCK_ACQUISITION_WITH_RAISED_IRQL 0x00000192
623 #define LOADER_ROLLBACK_DETECTED 0x00000196
624 #define WIN32K_SECURITY_FAILURE 0x00000197
625 #define KERNEL_STORAGE_SLOT_IN_USE 0x00000199
626 #define WORKER_THREAD_RETURNED_WHILE_ATTACHED_TO_SILO 0x0000019A
627 #define TTM_FATAL_ERROR 0x0000019B
628 #define WIN32K_POWER_WATCHDOG_TIMEOUT 0x0000019C
629 #define TTM_WATCHDOG_TIMEOUT 0x000001A0
630 #define WIN32K_CALLOUT_WATCHDOG_BUGCHECK 0x000001A2
631 #define FAST_ERESOURCE_PRECONDITION_VIOLATION 0x000001C6
632 #define STORE_DATA_STRUCTURE_CORRUPTION 0x000001C7
633 #define MANUALLY_INITIATED_POWER_BUTTON_HOLD 0x000001C8
634 #define SYNTHETIC_WATCHDOG_TIMEOUT 0x000001CA
635 #define INVALID_SILO_DETACH 0x000001CB
636 #define INVALID_CALLBACK_STACK_ADDRESS 0x000001CD
637 #define INVALID_KERNEL_STACK_ADDRESS 0x000001CE
638 #define HARDWARE_WATCHDOG_TIMEOUT 0x000001CF
639 #define CPI_FIRMWARE_WATCHDOG_TIMEOUT 0x000001D0
640 #define WORKER_THREAD_INVALID_STATE 0x000001D2
641 #define WFP_INVALID_OPERATION 0x000001D3
642 #define DRIVER_PNP_WATCHDOG 0x000001D5
643 #define WORKER_THREAD_RETURNED_WITH_NON_DEFAULT_WORKLOAD_CLASS 0x000001D6
644 #define EFS_FATAL_ERROR 0x000001D7
645 #define UCMUCSI_FAILURE 0x000001D8
646 #define HAL_IOMMU_INTERNAL_ERROR 0x000001D9
647 #define HAL_BLOCKED_PROCESSOR_INTERNAL_ERROR 0x000001DA
648 #define IPI_WATCHDOG_TIMEOUT 0x000001DB
649 #define DMA_COMMON_BUFFER_VECTOR_ERROR 0x000001DC
650 #define XBOX_ERACTRL_CS_TIMEOUT 0x00000356
651 #define BC_BLUETOOTH_VERIFIER_FAULT 0x00000BFE
652 #define BC_BTHMINI_VERIFIER_FAULT 0x00000BFF
653 #define HYPERVISOR_ERROR 0x00020001
654 #define SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M 0x1000007E
655 #define UNEXPECTED_KERNEL_MODE_TRAP_M 0x1000007F
656 #define KERNEL_MODE_EXCEPTION_NOT_HANDLED_M 0x1000008E
657 #define THREAD_STUCK_IN_DEVICE_DRIVER_M 0x100000EA
658 #define THREAD_TERMINATE_HELD_MUTEX 0x4000008A
659 #define STATUS_CANNOT_LOAD_REGISTRY_FILE 0xC0000218
660 #define WINLOGON_FATAL_ERROR 0xC000021A
661 #define STATUS_IMAGE_CHECKSUM_MISMATCH 0xC0000221
662 #define MANUALLY_INITIATED_CRASH1 0xDEADDEAD
663 
664 #endif /* DMP_SPECS_H */
uint16_t ut16
uint32_t ut32
#define DMP_CONTEXT_RECORD_SIZE_64
Definition: dmp_specs.h:33
struct _PHYSICAL_MEMORY_DESCRIPTOR64 dmp64_p_memory_desc
#define DMP_CONTEXT_RECORD_SIZE_32
Definition: dmp_specs.h:34
#define DMP_PHYSICAL_MEMORY_BLOCK_SIZE
Definition: dmp_specs.h:32
struct _PHYSICAL_MEMORY_DESCRIPTOR32 dmp32_p_memory_desc
struct _PHYSICAL_MEMORY_RUN dmp_p_memory_run
uint8_t ut8
Definition: lh5801.h:11
dmp_p_memory_run Run[1]
Definition: dmp_specs.h:39
dmp_p_memory_run Run[1]
Definition: dmp_specs.h:46
Definition: buffer.h:15
ut32 BugCheckParameter2
Definition: dmp_specs.h:62
ut32 ProductType
Definition: dmp_specs.h:80
ut64 SystemUpTime
Definition: dmp_specs.h:84
ut32 PsActiveProcessHead
Definition: dmp_specs.h:57
ut32 DumpType
Definition: dmp_specs.h:77
ut32 BugCheckCode
Definition: dmp_specs.h:60
ut32 KdDebuggerDataBlock
Definition: dmp_specs.h:69
dmp32_p_memory_desc PhysicalMemoryBlock
Definition: dmp_specs.h:71
ut32 SecondaryDataState
Definition: dmp_specs.h:79
ut32 MinorVersion
Definition: dmp_specs.h:53
ut64 SystemTime
Definition: dmp_specs.h:85
ut64 RequiredDumpSpace
Definition: dmp_specs.h:83
ut8 KdSecondaryVersion
Definition: dmp_specs.h:67
ut32 PfnDataBase
Definition: dmp_specs.h:55
ut32 NumberProcessors
Definition: dmp_specs.h:59
ut32 PsLoadedModuleList
Definition: dmp_specs.h:56
ut32 WriterStatus
Definition: dmp_specs.h:82
ut32 BugCheckParameter1
Definition: dmp_specs.h:61
ut8 PaeEnabled
Definition: dmp_specs.h:66
ut32 SuiteMask
Definition: dmp_specs.h:81
ut32 MachineImageType
Definition: dmp_specs.h:58
ut32 MiniDumpFields
Definition: dmp_specs.h:78
ut32 BugCheckParameter4
Definition: dmp_specs.h:64
ut32 DirectoryTableBase
Definition: dmp_specs.h:54
ut32 BugCheckParameter3
Definition: dmp_specs.h:63
ut32 MajorVersion
Definition: dmp_specs.h:52
ut32 DriverListOffset
Definition: dmp_specs.h:154
ut32 DebuggerDataOffset
Definition: dmp_specs.h:164
ut32 BrokenDriverOffset
Definition: dmp_specs.h:158
ut32 DataPageAddress
Definition: dmp_specs.h:161
ut32 SizeOfDump
Definition: dmp_specs.h:143
ut32 TopOfStack
Definition: dmp_specs.h:160
ut32 DriverCount
Definition: dmp_specs.h:155
ut32 TriageOptions
Definition: dmp_specs.h:159
ut32 StringPoolOffset
Definition: dmp_specs.h:156
ut32 UnloadedDriversOffset
Definition: dmp_specs.h:148
ut32 DataPageSize
Definition: dmp_specs.h:163
ut32 ThreadOffset
Definition: dmp_specs.h:151
ut32 StringPoolSize
Definition: dmp_specs.h:157
ut32 SizeOfCallStack
Definition: dmp_specs.h:153
ut32 MmOffset
Definition: dmp_specs.h:147
ut32 DataBlocksCount
Definition: dmp_specs.h:167
ut32 ExceptionOffset
Definition: dmp_specs.h:146
ut32 PrcbOffset
Definition: dmp_specs.h:149
ut32 DebuggerDataSize
Definition: dmp_specs.h:165
ut32 DataPageOffset
Definition: dmp_specs.h:162
ut32 CallStackOffset
Definition: dmp_specs.h:152
ut32 ServicePackBuild
Definition: dmp_specs.h:142
ut32 ContextOffset
Definition: dmp_specs.h:145
ut32 DataBlocksOffset
Definition: dmp_specs.h:166
ut32 ValidOffset
Definition: dmp_specs.h:144
ut32 ProcessOffset
Definition: dmp_specs.h:150
ut64 SystemUpTime
Definition: dmp_specs.h:119
ut32 MachineImageType
Definition: dmp_specs.h:98
ut64 PsLoadedModuleList
Definition: dmp_specs.h:96
ut32 SuiteMask
Definition: dmp_specs.h:123
ut32 BugCheckCode
Definition: dmp_specs.h:100
ut8 KdSecondaryVersion
Definition: dmp_specs.h:126
ut64 BugCheckParameter4
Definition: dmp_specs.h:105
ut64 BugCheckParameter3
Definition: dmp_specs.h:104
ut64 PfnDataBase
Definition: dmp_specs.h:95
ut32 MajorVersion
Definition: dmp_specs.h:92
ut64 SystemTime
Definition: dmp_specs.h:117
ut32 DumpType
Definition: dmp_specs.h:114
ut64 RequiredDumpSpace
Definition: dmp_specs.h:116
ut32 ProductType
Definition: dmp_specs.h:122
dmp64_p_memory_desc PhysicalMemoryBlock
Definition: dmp_specs.h:109
ut32 MinorVersion
Definition: dmp_specs.h:93
ut64 KdDebuggerDataBlock
Definition: dmp_specs.h:107
ut64 DirectoryTableBase
Definition: dmp_specs.h:94
ut32 MiniDumpFields
Definition: dmp_specs.h:120
ut32 NumberProcessors
Definition: dmp_specs.h:99
ut64 PsActiveProcessHead
Definition: dmp_specs.h:97
ut64 BugCheckParameter1
Definition: dmp_specs.h:102
ut64 BugCheckParameter2
Definition: dmp_specs.h:103
ut32 WriterStatus
Definition: dmp_specs.h:124
ut32 SecondaryDataState
Definition: dmp_specs.h:121
ut32 ThreadOffset
Definition: dmp_specs.h:180
ut32 SizeOfDump
Definition: dmp_specs.h:172
ut32 ProcessOffset
Definition: dmp_specs.h:179
ut32 PrcbOffset
Definition: dmp_specs.h:178
ut64 DataPageAddress
Definition: dmp_specs.h:197
ut32 BStoreOffset
Definition: dmp_specs.h:192
ut32 SizeOfCallStack
Definition: dmp_specs.h:182
ut32 StringPoolSize
Definition: dmp_specs.h:186
ut32 ContextOffset
Definition: dmp_specs.h:174
ut32 DebuggerDataOffset
Definition: dmp_specs.h:200
ut64 TopOfStack
Definition: dmp_specs.h:189
ut32 BrokenDriverOffset
Definition: dmp_specs.h:187
ut32 StringPoolOffset
Definition: dmp_specs.h:185
ut32 CallStackOffset
Definition: dmp_specs.h:181
ut32 TriageOptions
Definition: dmp_specs.h:188
ut32 DataPageSize
Definition: dmp_specs.h:199
ut32 SizeOfBStore
Definition: dmp_specs.h:193
ut32 DebuggerDataSize
Definition: dmp_specs.h:201
ut64 LimitOfBStore
Definition: dmp_specs.h:194
ut32 DriverCount
Definition: dmp_specs.h:184
ut32 DataBlocksCount
Definition: dmp_specs.h:203
ut32 DataPageOffset
Definition: dmp_specs.h:198
ut32 ExceptionOffset
Definition: dmp_specs.h:175
ut32 ValidOffset
Definition: dmp_specs.h:173
ut32 DriverListOffset
Definition: dmp_specs.h:183
ut32 UnloadedDriversOffset
Definition: dmp_specs.h:177
ut32 DataBlocksOffset
Definition: dmp_specs.h:202
ut32 MmOffset
Definition: dmp_specs.h:176
ut32 ServicePackBuild
Definition: dmp_specs.h:171
ut64 TotalPresentPages
Definition: dmp_specs.h:136
dmp_kldr_data_table_entry32 LdrEntry
Definition: dmp_specs.h:282
dmp_kldr_data_table_entry64 LdrEntry
Definition: dmp_specs.h:288
dmp_unicode_string32 BaseDllName
Definition: dmp_specs.h:250
dmp_list_entry32 InLoadOrderLinks
Definition: dmp_specs.h:241
dmp_unicode_string32 FullDllName
Definition: dmp_specs.h:249
dmp_unicode_string64 BaseDllName
Definition: dmp_specs.h:269
dmp_unicode_string64 FullDllName
Definition: dmp_specs.h:268
dmp_list_entry64 InLoadOrderLinks
Definition: dmp_specs.h:260
ut32 count
Definition: dmp_specs.h:292
ut64(WINAPI *w32_GetEnabledXStateFeatures)()