Add tools/split_gaps.py - #128
Open
vagnertxr wants to merge 1 commit into
Open
Conversation
Reports the .text ranges that splits.txt does not claim yet, and which data each one references. Carving a translation unit out of an auto_* blob is the first step of every new decomp, and the hard part is proving where the unit ends. Data that no other block touches settles it: a hole whose constants belong to nobody else is a translation unit. Exclusivity is decided per symbol rather than per hole. A single hole in .sdata2 routinely holds constants for several units, so testing the hole as a whole reports everything as shared and hides every boundary in it. Assembly left behind by dtk when a unit disappears from splits.txt is skipped, since a stale .s looks like a second user of every constant it mentions. On RSBE01_02 today: 44 unclaimed ranges, 42 of which own data outright. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Reports the
.textranges thatsplits.txtdoes not claim yet, and which data each one references.