Open
Bug 1737261
Opened 4 years ago
Updated 4 years ago
Add the MinidumpMemoryInfoList stream to macOS minidumps
Categories
(Toolkit :: Crash Reporting, enhancement)
Tracking
()
NEW
People
(Reporter: gsvelto, Unassigned)
References
(Blocks 1 open bug)
Details
We'd like to improve stack walking by correctly identifying executable regions within a process' memory. On Linux we have a snapshot of /proc/self/maps which can be used for this purpose but on macOS we don't have anything similar.
The stream format is described in Microsoft's documentation (here's the header and here are the entries). The AllocationProtect, State, Protect and Type fields are supposed to contain Windows-specific constants. There's two ways to tackle this: either we use those fields to store macOS-specific constants or we map them to their closest Windows equivalents. Interestingly crashpad does the latter for fuchsia but it does not populate the stream on Linux and macOS.
You need to log in
before you can comment on or make changes to this bug.
Description
•