A Cross-Platform C++ parser library for Windows kernel minidumps.
Project description
Python building for kdmp-parser
This C++ library parses Windows kernel full dumps (.dump /f
in WinDbg), BMP dumps (.dump /ka
in WinDbg) as well as more recent dump types that were introduced in ~2022.
The library supports loading 64-bit dumps and provides read access to things like:
- The context record,
- The exception record,
- The bugcheck parameters,
- The physical memory.
The Python bindings were authored by hugsy & masthoon. Refer to the project page on Github for documentation, issues and pull requests.
Installing from PyPI
The easiest way is simply to:
pip install kdmp_parser
Installing using PIP
Run the following after installing CMake and Python 3.8+ / pip
:
cd src/python
pip install requirements.txt
pip install .
To create a wheel pacakge:
cd src/python
pip wheel .
Usage
Get context, print the program counter
import kdmp_parser
dmp = kdmp_parser.KernelDumpParser("full.dmp")
assert dmp.type == kdmp_parser.DumpType.FullDump
print(f"Dump RIP={dmp.context.Rip:#x}")
Read a virtual memory page at address pointed by RIP
import kdmp_parser
dmp = kdmp_parser.KernelDumpParser("full.dmp")
dmp.read_virtual_page(dmp.context.Rip)
Explore the physical memory
import kdmp_parser
dmp = kdmp_parser.KernelDumpParser("full.dmp")
pml4 = dmp.directory_table_base
print(f"{pml4=:#x}")
dmp.read_physical_page(pml4)
Translate a virtual address into a physical address
import kdmp_parser
dmp = kdmp_parser.KernelDumpParser("full.dmp")
VA = dmp.context.Rip
PA = dmp.translate_virtual(VA)
print(f"{VA=:#x} -> {PA=:#x}")
Authors
- Axel '@0vercl0k' Souchet
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file kdmp_parser-0.7.4-cp312-abi3-win_amd64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp312-abi3-win_amd64.whl
- Upload date:
- Size: 87.4 kB
- Tags: CPython 3.12+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e296a783aebc5d041136e4b69db4f4daeb5f7087b98d1a92eb839b04315f1d26 |
|
MD5 | bdd893ecb26d32925d5f649c55b9c5bb |
|
BLAKE2b-256 | df13e286c93e65c1c5e5623aceefecf22ebea482bca737b16a95a489b0264ac0 |
File details
Details for the file kdmp_parser-0.7.4-cp312-abi3-win32.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp312-abi3-win32.whl
- Upload date:
- Size: 81.1 kB
- Tags: CPython 3.12+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4410e0bf46cc5f580d4027f98782255c4df832f33d467b7c37d9297045641d60 |
|
MD5 | 535f981420e9b9649c182fb42cfca92f |
|
BLAKE2b-256 | 78a14421db0efd8440ad81335b3baa93b66c890ad76ecd9bf3fd587c9664f33b |
File details
Details for the file kdmp_parser-0.7.4-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 218.4 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa400f14cb8166aebb3457f4fca7b5f0cb35183fb52541a760734fe7b9b6b1c0 |
|
MD5 | 253ec06a44a1e1b95ee56aba8b4a7aff |
|
BLAKE2b-256 | a64237229189d790a2057b0b94f01cde7d8c62c8f9bbda05396cddf51a57d2cf |
File details
Details for the file kdmp_parser-0.7.4-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 234.4 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 056b4cdcb0c71145312ac080cc82227be9a8aade399f599a418c3ab66e41403e |
|
MD5 | 0322b9bed5286f19e888d26b2af83a58 |
|
BLAKE2b-256 | a42c866f82da17b2bddea6ea2d00076f0934543c676d4342c28d4114301757c0 |
File details
Details for the file kdmp_parser-0.7.4-cp312-abi3-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp312-abi3-macosx_10_15_x86_64.whl
- Upload date:
- Size: 74.5 kB
- Tags: CPython 3.12+, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482b1676dd3eb663d5ad2b26e40fd4c6c390ffd48637a20198da3d6bcd1e3d27 |
|
MD5 | 4012a40b6ab772aa17a1ca8a1736ad58 |
|
BLAKE2b-256 | a4891b57c97664d2e51786ff45a078faac53a95a8650ab62b70a4641742dc480 |
File details
Details for the file kdmp_parser-0.7.4-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 87.1 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd7331ae1ebd7e3a45d1e17192e96c69c376e34d61cde050bca2a0c3fdc1a3d5 |
|
MD5 | b2f90de99b39d22785c06c801a741a1f |
|
BLAKE2b-256 | 76437ab3646b8dbabdb833731cf29fefa9219e87a11c85f41a499f34191a4fd8 |
File details
Details for the file kdmp_parser-0.7.4-cp311-cp311-win32.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp311-cp311-win32.whl
- Upload date:
- Size: 81.5 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 756fc76788ac08109f11de0488d9adc0d1338a95c18ce2d8fe0134233dc85710 |
|
MD5 | 8874ea915aba8825f24814c8f24971de |
|
BLAKE2b-256 | 04b91c0b93065618e8756b5fd99ea9c46d05c3c8f666288908e74d2d6de77d66 |
File details
Details for the file kdmp_parser-0.7.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 218.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7800862d47ce09394b3562637a19df8b61382b2e7dfccf60cb4df965bbe914d9 |
|
MD5 | 038198ea0c6d081fa16dffcf13e5b64d |
|
BLAKE2b-256 | bddb63cfeb7e2af38c7c746b502b870316d9db4b3666f3e8b4a70a0b8875f1af |
File details
Details for the file kdmp_parser-0.7.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 235.3 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 383726337d55077f78a6006969727e19244175f0a43adeee72b7fcd50e18680c |
|
MD5 | 9ef85be7ae3cc3c3d08eb750f36f56da |
|
BLAKE2b-256 | 85a5594d71656922bb3ef72736213ce9678149d5d3fff8b17d1f48f945a5e7f6 |
File details
Details for the file kdmp_parser-0.7.4-cp311-cp311-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp311-cp311-macosx_10_15_x86_64.whl
- Upload date:
- Size: 74.8 kB
- Tags: CPython 3.11, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a85a0d980ff79771aca07ee8ef734e2692bf956fd8bb74bebdf1ede42ce8e7e |
|
MD5 | f08290092fe2cb68adafd2d0d63ce282 |
|
BLAKE2b-256 | dc92867b657588e184cc6d79db633eaf2fd63dbb45829e82433f8db34a40339c |
File details
Details for the file kdmp_parser-0.7.4-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 87.4 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebf7a8727997a10dffb6af159036b825c19433653628a807f8f7c044591c35b0 |
|
MD5 | 15b8d1d887499417a9005bc6d453d285 |
|
BLAKE2b-256 | b9040e8a420153a8f0e9cc87b769757632b85c20390b67227590da78cda3d3f5 |
File details
Details for the file kdmp_parser-0.7.4-cp310-cp310-win32.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp310-cp310-win32.whl
- Upload date:
- Size: 81.7 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c2f56725402f3d248c13885e0f176b4d4b354ef5988b90f666a85cf2a5ecc0 |
|
MD5 | 27c64a8722069fa48f40c63b1cc0dba4 |
|
BLAKE2b-256 | b20d5d182e735ed1233f185f1dcd6d51751aae6c417a3598dd9697c5f13279f5 |
File details
Details for the file kdmp_parser-0.7.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 219.2 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca2bc63f1420e5ea4627fab1d8969676a9a577eacadbc953db6027478bd50146 |
|
MD5 | e73164ff756589de7bfa30bece5d036b |
|
BLAKE2b-256 | 1c38dd760a25d14b04e3427bb6a67081fcc4120e4a5088d85bd233aef4bce72b |
File details
Details for the file kdmp_parser-0.7.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 235.5 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a04ab7bc38d7aba6bd685da40532a8d9f9624e6d14df5ec615bb2c8d0483682d |
|
MD5 | 0ed93ed83b13d235ec93783059e2d93a |
|
BLAKE2b-256 | afb1e74d2f2615d81ba0a92c1ceceef8fabbc8f6b86ba8f9dbd2c66c8592703f |
File details
Details for the file kdmp_parser-0.7.4-cp310-cp310-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp310-cp310-macosx_10_15_x86_64.whl
- Upload date:
- Size: 75.0 kB
- Tags: CPython 3.10, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fca6f676e8bec7129a5a76463df47cfabbece27299ab4509c0f98c3f701cb75 |
|
MD5 | a456d34ea5858744379abd1086e3dd40 |
|
BLAKE2b-256 | 16be1aa74d06018ecc8e0f186afa462ac0e63d5c48b477ee396bd07f58a02101 |
File details
Details for the file kdmp_parser-0.7.4-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 87.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55e8ffe5fcb970de1422c5ff9c6ac49b766630deec7d8f2fea52d99c20ccec07 |
|
MD5 | fa9177f58a04157afd3b376b492ca97e |
|
BLAKE2b-256 | 5c915f2377b6ba03afce8b4554da83027b3e23d1396606b345d8eb474ef3b64d |
File details
Details for the file kdmp_parser-0.7.4-cp39-cp39-win32.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp39-cp39-win32.whl
- Upload date:
- Size: 82.1 kB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dddf0d14fe4c902c947e3da8015306f9f02e39fb70a769c6e1e1e9054b562825 |
|
MD5 | 10a553dbbd5f407af81e266ecc80f502 |
|
BLAKE2b-256 | 2231b745f3ff8a051c3116d28e9f9e357d574cf4eb451e282d0c0e1abeafc0b9 |
File details
Details for the file kdmp_parser-0.7.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 219.4 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6d09a6376d570d052a7ee714bb966015f32be1966816b12b1832e4cb6ef95a |
|
MD5 | 5b364f86afc66d072395d61ccae43ac3 |
|
BLAKE2b-256 | bd472d7e7646af244b35f70d0d5af821293fc41ff9b97aead2f963e8b22db428 |
File details
Details for the file kdmp_parser-0.7.4-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 235.8 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f3128b538a4026480421b49f3a0dec29dd1f010f50ee412924c58ce80a7b4a0 |
|
MD5 | 6493e7cd32dfc8259dc51bb985716c58 |
|
BLAKE2b-256 | 7c60eb17bf9fbd53bdf8f3349131bf44f141c3494e72245be4bc4c6940f28510 |
File details
Details for the file kdmp_parser-0.7.4-cp39-cp39-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp39-cp39-macosx_10_15_x86_64.whl
- Upload date:
- Size: 75.3 kB
- Tags: CPython 3.9, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e168068d62d777746e0e4ccf7f526a046ea24f0fdcc4705adbac136edcfbc95 |
|
MD5 | 6c94fe7025082f76a83ca1a65d7c6a5b |
|
BLAKE2b-256 | 090939150eb2c43443945c565b5a39167b370f590543d1f4c0849af1e2895f8c |
File details
Details for the file kdmp_parser-0.7.4-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 87.7 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d85b91101d3c05bf98558b94b4e128ac5fd8b21a6118572ca9f7c7a97f122d4 |
|
MD5 | 68e2a444c6263954488b7c98df95bee5 |
|
BLAKE2b-256 | 9d59b2de0da680ca9e52563a6ee2bb34c4bd1b8ed392cd25d9ed40f3cfd9b8d2 |
File details
Details for the file kdmp_parser-0.7.4-cp38-cp38-win32.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp38-cp38-win32.whl
- Upload date:
- Size: 81.8 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e975ed46e879d16475afe42622fe6aef45086367d3107dd91a8a3cc5b125a10c |
|
MD5 | 62dc4a5aa55cd84697f01cfa61a7138b |
|
BLAKE2b-256 | 9d92fbd96e7a35bf5cd0069be903c5f27c341fc70c32442d6dad319f215f590e |
File details
Details for the file kdmp_parser-0.7.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 219.2 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429873764d80b274759eb7bed2da0a3ba6b74f3c5a769e43cf3d29ba113bd709 |
|
MD5 | 2aed05dab943256350a18ba396ebdd9f |
|
BLAKE2b-256 | 3a5292b19c0bd8a638985fc164810fe5b4f56e6ff12291103c667e2728667e29 |
File details
Details for the file kdmp_parser-0.7.4-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 235.3 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be777dd15351f45dd6043b5927b226186a685cf28f323d8b0b2038e293775ce |
|
MD5 | f21b79391189e38f86dd9098d0bf510c |
|
BLAKE2b-256 | 6c5f70ae0c90e0b5b5604a9860bbc8824b9c24d999f8d0a07eb1599bbba8a0c6 |
File details
Details for the file kdmp_parser-0.7.4-cp38-cp38-macosx_10_15_x86_64.whl
.
File metadata
- Download URL: kdmp_parser-0.7.4-cp38-cp38-macosx_10_15_x86_64.whl
- Upload date:
- Size: 74.6 kB
- Tags: CPython 3.8, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 219809ce0d1bc8965682ca1b8f9e885ad5cfb0af6e67f4851fc855f325134c76 |
|
MD5 | 57350ab31fb72fe3a5398377bd897e2a |
|
BLAKE2b-256 | 8250c257430aa205acaa126fd15c5abe4aef085b84d356938e6a4b09d6ee2bd0 |