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

Fix mac modules #42

Merged
merged 3 commits into from
Jul 14, 2022
Merged

Fix mac modules #42

merged 3 commits into from
Jul 14, 2022

Conversation

Jake-Shadle
Copy link
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