8000 Add ability to automatically dump all memory of a process on Linux · Issue #140 · rust-minidump/minidump-writer · GitHub
[go: up one dir, main page]

Skip to content

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

Open

Description

@medioxor

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

Activity

  1. gabrielesvelto commented on Dec 4, 2024

    @gabrielesvelto
    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.

  2. medioxor commented on Dec 4, 2024

    @medioxor
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0