Skip to content

ARM: Fix subtract with overflow error when no mapping symbol at address 0 #183

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

Merged
merged 1 commit into from
Mar 31, 2025

Conversation

LagoLunatic
Copy link
Contributor

Fixes #176. It looks like the root cause of that regression is that objdiff 3 now infers that 0-size symbols are larger than they really are if junk(?) data comes right after them, so objdiff guess that these 0x68 bytes are a function called ".text". objdiff 2 just skipped over it because it had size 0 and unknown type.

Since it's not clear if this object is even valid I think a quick fix that just avoids the build error is fine in this case so that it can be viewed.

image
image

@encounter encounter merged commit e101610 into encounter:main Mar 31, 2025
20 checks passed
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.

ARM: Attempt to subtract with overflow error when object has no symbol at address 0
2 participants