Add support for armembers data source for Mach-O archives #486
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch adds support for Darwin/Mach-O archives.
Also, note this PR contains 175026f which has its own PR here: #481 but I'm including it here as it is a dependency and annoying to stack patches. Ideally I can rebase if/when it lands.
Note, for archives containing universal binaries, --domain=vm does not currently produce meaningful results because each architecture has its own independent address space, causing address collisions when combined. So a user should use --domain=file or filter to a single architecture with --source-filter=. This can be addressed if each slice gets it's own vm address space, e.g. using #480