Skip to content

Fix mac modules#42

Merged
Jake-Shadle merged 3 commits intomainfrom
fix-mac-modules
Jul 14, 2022
Merged

Fix mac modules#42
Jake-Shadle merged 3 commits intomainfrom
fix-mac-modules

Conversation

@Jake-Shadle
Copy link
Copy Markdown
Collaborator

When iterating over the loaded module to gather their metadata, only the main executable file path was being read correctly due to an oversight in the reading of the task memory, causing the read to fail and the module to be skipped and not written to the minidump. Now the file path is capped to a generous 8k, the same as Breakpad, which no longer runs into the issue. I also made it so that failing to read the file path for the module won't skip the module entirely any longer since that is rather harsh.

Resolves: #41

@Jake-Shadle Jake-Shadle merged commit 1a1e912 into main Jul 14, 2022
@Jake-Shadle Jake-Shadle deleted the fix-mac-modules branch July 14, 2022 10:48
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

Successfully merging this pull request may close these issues.

System libraries (e.g libSystem.B.dylib) are missing from the modules list on macOS

1 participant