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

Infer and trim padding at the end of TU sections #42

Open
ribbanya opened this issue Feb 26, 2024 · 0 comments
Open

Infer and trim padding at the end of TU sections #42

ribbanya opened this issue Feb 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ribbanya
Copy link
Contributor

Given a TU with correctly assigned symbol sizes, dtk should be able to infer the unpadded endings of splits, like this:

 melee/ft/chara/ftPurin/ftPr_SpecialHi.c:
     .text       start:0x8013C9C8 end:0x8013CE8C
-     .sdata2     start:0x804D9C10 end:0x804D9C20
+     .sdata2     start:0x804D9C10 end:0x804D9C1C
 
 melee/ft/chara/ftPurin/ftPr_SpecialLw.c:
     .text       start:0x8013CE8C end:0x8013D234
     .sdata2     start:0x804D9C20 end:0x804D9C2C
@encounter encounter added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants