8000 Add support for the MINIDUMP_HANDLE_DATA_STREAM on macOS · Issue #93 · rust-minidump/minidump-writer · GitHub
[go: up one dir, main page]

Skip to content

Add support for the MINIDUMP_HANDLE_DATA_STREAM on macOS #93

Open

Description

@gabrielesvelto

This is the same as issue #92 but for macOS.

It's worth noting that while the entries would contain the same values as the Linux ones, gathering them has to be done differently as there's no equivalent to /proc/<pid>/fd on macOS. The implementation would require calling proc_pidinfo() with the PROC_PIDLISTFDS flag to obtain the list of open file descriptors in the target process, then repeated calls to proc_pidinfo() with the PROC_PIDFDVNODEINFO/PROC_PIDFDVNODEPATHINFO flags to get the stat and path information for each descriptor.

Activity

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