Support efficient one-shot diffs and linked-binary reports - #402
Open
Fabus1184 wants to merge 3 commits into
Open
Support efficient one-shot diffs and linked-binary reports#402Fabus1184 wants to merge 3 commits into
Fabus1184 wants to merge 3 commits into
Conversation
Use a symbol-specific core diff path when a positional symbol is provided. This avoids processing unrelated symbols and sections, preventing malformed data symbols from aborting output and substantially reducing work for large binaries while preserving object-wide indexes.
Preserve linked section addresses, avoid invalid section merging, and add a summary-only diff path for report generation. Support direct target/base report inputs while retaining project mode as the default.
Fix reports for linked ELF binaries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Improve CLI workflows for large linked binaries:
objdiff-cli diffto the requested symbol when one is provided, while preserving object-wide symbol and section indexes for relocations.objdiff-cli report generateto operate directly on--target/-1and--base/-2object files without requiring a project configuration.Together, these changes make single-symbol inspection and whole-binary report generation substantially faster and more reliable. They also prevent unrelated malformed data symbols from aborting a requested symbol diff.
Added coverage for: