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

write/range: fix conversion of relocatable address ranges #368

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

philipc
Copy link
Collaborator

@philipc philipc commented Jan 29, 2019

No description provided.

@philipc philipc requested a review from fitzgen January 29, 2019 08:48
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 87.259% when pulling 921c84f on philipc:ranges into e4d5488 on gimli-rs:master.

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!

w.write_address(range.end, address_size)?;
// Note that we must ensure none of the ranges have both begin == 0 and end == 0.
// We do this by ensuring that begin != end, which is a bit more restrictive
// than required, but still seems reasonable.
Copy link
Member

Choose a reason for hiding this comment

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

SGTM

@philipc philipc merged commit 6e16ab6 into gimli-rs:master Jan 30, 2019
@philipc philipc deleted the ranges branch January 30, 2019 03:06
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