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

cfi: use FDE address encoding from augmentation for DW_CFA_set_loc #403

Merged
merged 7 commits into from
Mar 12, 2019

Conversation

philipc
Copy link
Collaborator

@philipc philipc commented Mar 9, 2019

#355 fixed parsing of DW_CFA_set_loc for .debug_frame. However, .eh_frame uses the FDE address encoding from the augmentation. Correctly parsing these encoded pointers unfortunately requires a lot of state, so there's a few commits to refactor to pass this state through, and the fix is in the final commit.

cc @mitsuhiko

@philipc philipc requested a review from fitzgen March 9, 2019 06:31
@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 86.68% when pulling 7ca75db on philipc:cfi-set-loc into 0ee40d1 on gimli-rs:master.

@philipc philipc merged commit f1f641c into gimli-rs:master Mar 12, 2019
@philipc philipc deleted the cfi-set-loc branch March 12, 2019 02:28
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

3 participants