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

CIEv4 and FDE ahead of its CIE #563

Merged
merged 2 commits into from
Jul 16, 2024
Merged

CIEv4 and FDE ahead of its CIE #563

merged 2 commits into from
Jul 16, 2024

Conversation

sevaa
Copy link
Contributor

@sevaa sevaa commented Jul 13, 2024

Addresses both issues in #562. As always, uncovered some unrelated stuff once the binary hit the test corpus.

The FDE ahead of CIE issue is not handled correctly neither by GNU readelf nor by llvm-dwarfdump nor by eu-readelf.

Along the way, I had to file two bugs against GNU readelf:

Also, the aranges section in the binary looks straight up malformed - there is no entry tuple alignment to the tuple size, as demanded by the standard. Readelf produces nonsensical output on that section, pyelftools conks out. Smells like a bug in IAR.

Over those issues, I had to exclude the new binary from some of the readelf tests. I'll try to patch readelf in the meantime.

Copy link
Owner

@eliben eliben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eliben eliben merged commit 0f72cb7 into eliben:main Jul 16, 2024
4 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.

2 participants