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

read/cfi: add parse_encoded_value #725

Merged
merged 1 commit into from
Jun 28, 2024
Merged

Conversation

philipc
Copy link
Collaborator

@philipc philipc commented Jun 27, 2024

This directly parses an encoded value, instead of relying on parse_encoded_pointer to skip the pointer handling. This is preparation for changing parse_encoded_pointer to return a different address type.

Also add more validation for the FDE count encoding, since it seems like the right thing to do, but this could be removed again if it is a problem.

This directly parses an encoded value, instead of relying on
parse_encoded_pointer to skip the pointer handling.
This is preparation for changing parse_encoded_pointer to
return a different address type.

Also add more validation for the FDE count encoding, since it
seems like the right thing to do, but this could be removed again
if it is a problem.
@philipc philipc merged commit e996d62 into gimli-rs:master Jun 28, 2024
20 checks passed
@philipc philipc deleted the cfi-encoded branch June 28, 2024 07:12
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.

1 participant