#kernel #virtual-memory #physical-memory #crashdump #page-table #windows

kdmp-parser

A KISS Rust crate to parse Windows kernel crash-dumps created by Windows & its debugger

5 releases (breaking)

0.5.0 Aug 13, 2024
0.4.0 Jun 22, 2024
0.3.0 Jun 12, 2024
0.2.0 Mar 29, 2024
0.1.1 Mar 21, 2024

#572 in Parser implementations

Download history 8/week @ 2024-07-23 9/week @ 2024-07-30 1/week @ 2024-08-06 149/week @ 2024-08-13 6/week @ 2024-09-10 6/week @ 2024-09-17 30/week @ 2024-09-24 6/week @ 2024-10-01 12/week @ 2024-10-08 63/week @ 2024-10-15 1/week @ 2024-10-29 9/week @ 2024-11-05

85 downloads per month
Used in 2 crates

MIT license

97KB
1.5K SLoC

kdmp-parser

A KISS Rust crate to parse Windows kernel crash-dumps created by Windows & its debugger.

This is a cross-platform crate that parses Windows kernel crash-dumps that Windows / WinDbg generates. It exposes read-only access to the physical memory pages as well as the register / exception context. It can also read virtual memory addresses by walking the page tables.

Compiled binaries are available in the releases section.

Parser

The parser application is a small utility to show-case how to use the library and demonstrate its features. You can use it to dump memory, etc.

parser-usage

Here are the options supported:

A KISS Rust crate to parse Windows kernel crash-dumps created by Windows & its debugger.

Usage: parser.exe [OPTIONS] <DUMP_PATH>

Arguments:
  <DUMP_PATH>
          The dump path

Options:
      --dump-headers
          Dump the dump headers

  -c, --context-record
          Dump the context record

  -e, --exception-record
          Dump the exception record

  -m, --mem[=<MEM>]
          Dump the first `len` bytes of every physical pages, unless an address is specified

      --virt
          The address specified is interpreted as a virtual address, not a physical address

      --len <LEN>
          The number of bytes to dump out

          [default: 16]

  -r, --reader <READER>
          Reader mode

          [default: mmap]

          Possible values:
          - mmap: The crash-dump is memory-mapped
          - file: The crash-dump is read as a file on disk

      --modules
          Dump the list of kernel & user modules

  -h, --help
          Print help (see a summary with '-h')

  -V, --version
          Print version

Authors

Contributors

contributors-img

Dependencies

~0.3–0.8MB
~19K SLoC