{"id":24180087,"url":"https://github.com/joaoviictorti/userdmp","last_synced_at":"2025-03-02T19:17:12.952Z","repository":{"id":271802419,"uuid":"914613935","full_name":"joaoviictorti/userdmp","owner":"joaoviictorti","description":"A Rust crate to parse user-mode minidump files generated on Windows","archived":false,"fork":false,"pushed_at":"2025-02-23T03:38:27.000Z","size":49,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T04:24:02.608Z","etag":null,"topics":["memory","minidump","rust","windows"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/userdmp","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joaoviictorti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-10T00:14:47.000Z","updated_at":"2025-02-23T03:38:30.000Z","dependencies_parsed_at":"2025-02-23T04:21:28.863Z","dependency_job_id":"0536543f-3963-4a68-815a-f99c8cf46713","html_url":"https://github.com/joaoviictorti/userdmp","commit_stats":null,"previous_names":["joaoviictorti/userdmp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoviictorti%2Fuserdmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoviictorti%2Fuserdmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoviictorti%2Fuserdmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joaoviictorti%2Fuserdmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joaoviictorti","download_url":"https://codeload.github.com/joaoviictorti/userdmp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241072727,"owners_count":19904831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["memory","minidump","rust","windows"],"created_at":"2025-01-13T06:11:43.556Z","updated_at":"2025-03-02T19:17:12.936Z","avatar_url":"https://github.com/joaoviictorti.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# userdmp 🦀\n\n![Rust](https://img.shields.io/badge/made%20with-Rust-red)\n![crate](https://img.shields.io/crates/v/userdmp.svg)\n![docs](https://docs.rs/userdmp/badge.svg)\n![Forks](https://img.shields.io/github/forks/joaoviictorti/userdmp)\n![Stars](https://img.shields.io/github/stars/joaoviictorti/userdmp)\n![License](https://img.shields.io/github/license/joaoviictorti/userdmp)\n\n`userdmp` is library in Rust for parsing Minidump (.dmp) files generated in user mode on Windows\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n    - [Parsing a Minidump File](#parsing-a-minidump-file)\n- [Contributing to userdmp](#contributing-to-userdmp)\n- [License](#license)\n\n## Features\n\n- ✅ **Module List Stream (`ModuleListStream`)**: Contains information about all loaded modules (e.g., DLLs), including their file paths, base addresses, and sizes.  \n- ✅ **Handle Data Stream (`HandleDataStream`)**: Captures details about open handles in the process, such as references to files, threads, and synchronization objects.  \n- ✅ **System Info Stream (`SystemInfoStream`)**: Includes metadata about the operating system (e.g., version, build number) and hardware (e.g., CPU type and number of processors).  \n- ✅ **Exception Stream (`ExceptionStream`)**: Records details about the exception that triggered the dump, including the exception code, address, and relevant parameters.  \n- ✅ **Memory Stream (`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.\n\n## Installation\n\nAdd `userdmp` to your project by updating your `Cargo.toml`:\n```bash\ncargo add userdmp\n```\n\nOr manually add the dependency:\n```toml\n[dependencies]\nuserdmp = \"\u003cversion\u003e\"\n```\n\n## Usage\n\nThe userdmp library provides tools to parse and analyze Minidump (.dmp) files generated in user mode on Windows. Here's how you can use it:\n\n### Parsing a Minidump File\n\nTo start working with a Minidump file, use the `UserDump::new` function to parse the file and create a `UserDump` instance:\n```rust, ignore\nuse userdmp::{UserDump, UserDmpError};\n\nfn main() -\u003e Result\u003c(), UserDmpError\u003e {\n    // Parse the Minidump file\n    let dump = UserDump::new(\"example.dmp\")?;\n    println!(\"Minidump parsed successfully!\");\n\n    Ok(())\n}\n```\n\nFor more examples, see the [`examples`](./examples) folder in this repository. 📂\n\n\n## Contributing to userdmp\n\nTo contribute to **userdmp**, follow these steps:\n\n1. Fork this repository.\n2. Create a branch: `git checkout -b \u003cbranch_name\u003e`.\n3. Make your changes and commit them: `git commit -m '\u003ccommit_message\u003e'`.\n4. Push your changes to your branch: `git push origin \u003cbranch_name\u003e`.\n5. Create a pull request.\n\nAlternatively, consult the [GitHub documentation](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests) on how to create a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](/LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaoviictorti%2Fuserdmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoaoviictorti%2Fuserdmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoaoviictorti%2Fuserdmp/lists"}