| Crates.io | userdmp |
| lib.rs | userdmp |
| version | 0.1.3 |
| created_at | 2025-01-10 00:17:08.181517+00 |
| updated_at | 2025-06-25 01:52:38.892434+00 |
| description | A library in Rust for parsing Minidump (.dmp) files generated in user mode on Windows |
| homepage | https://github.com/joaoviictorti/userdmp |
| repository | https://github.com/joaoviictorti/userdmp |
| max_upload_size | |
| id | 1510783 |
| size | 82,062 |
userdmp is library in Rust for parsing Minidump (.dmp) files generated in user mode on Windows
ModuleListStream): Contains information about all loaded modules (e.g., DLLs), including their file paths, base addresses, and sizes.HandleDataStream): Captures details about open handles in the process, such as references to files, threads, and synchronization objects.SystemInfoStream): Includes metadata about the operating system (e.g., version, build number) and hardware (e.g., CPU type and number of processors).ExceptionStream): Records details about the exception that triggered the dump, including the exception code, address, and relevant parameters.MemoryListStream / MemoryInfoListStream): Provides a list of memory regions that were included in the dump, allowing analysis of process memory contents at the time of the crash.Add userdmp to your project by updating your Cargo.toml:
cargo add userdmp
The userdmp library provides tools to parse and analyze Minidump (.dmp) files generated in user mode on Windows. Here's how you can use it:
To start working with a Minidump file, use the UserDump::new function to parse the file and create a UserDump instance:
use userdmp::{UserDump, UserDmpError};
fn main() -> Result<(), UserDmpError> {
// Parse the Minidump file
let dump = UserDump::new("example.dmp")?;
println!("Minidump parsed successfully!");
Ok(())
}
For more examples, check the examples folder in the repository.
This project is licensed under the MIT License. See the LICENSE file for details.