Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to automatically dump all memory of a process on Linux #140

Open
medioxor opened this issue Dec 3, 2024 · 2 comments
Open

Comments

@medioxor
Copy link

medioxor commented Dec 3, 2024

hey all, i noted that when doing a default dump of a remote linux process only the stack of the current thread is captured but not anything else and so i've found that i have had to manually enumerate all the memory mappings for a given process and call https://docs.rs/minidump-writer/latest/minidump_writer/minidump_writer/struct.MinidumpWriter.html#method.set_app_memory in order for them to be dumped, i know this makes sense but i was curious if it would be desirable to automate this process as apart of the crate? similar to how you can choose a full minidump when dumping a remote process on windows? i'd be happy to submit a PR if interested

@gabrielesvelto
Copy link
Contributor

We could definitely add a flag to dump all memory. If you have a PR implementing this I'll be happy to review it.

@medioxor
Copy link
Author

medioxor commented Dec 4, 2024

Awesome! i'll submit it later this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants