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

Use separate base address structs for .eh_frame and .eh_frame_hdr #351

Merged
merged 2 commits into from
Jan 7, 2019

Conversation

philipc
Copy link
Collaborator

@philipc philipc commented Jan 3, 2019

PC relative pointers need to use different bases for these sections.
Also, data relative pointers have different meanings, and the existing
documentation for set_data was wrong for both sections.

Fixes #350
cc @koute

@philipc philipc requested a review from fitzgen January 3, 2019 07:19
@coveralls
Copy link

coveralls commented Jan 3, 2019

Coverage Status

Coverage decreased (-0.04%) to 87.383% when pulling 4aafcd8 on philipc:issue-350 into d23b4f5 on gimli-rs:master.

PC relative pointers need to use different bases for these sections.
Also, data relative pointers have different meanings, and the existing
documentation for `set_data` was wrong for both sections.
Something has changed in ArrayVec layout on nightly.
@koute
Copy link
Contributor

koute commented Jan 3, 2019

Looks good to me!

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Nice digging!

@fitzgen fitzgen merged commit 9b08873 into gimli-rs:master Jan 7, 2019
@philipc philipc deleted the issue-350 branch January 8, 2019 02:55
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.

None yet

4 participants