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

Handle negative offsets for DW_OP_fbreg correctly. #190

Merged
merged 1 commit into from
Mar 17, 2017

Conversation

khuey
Copy link
Contributor

@khuey khuey commented Mar 17, 2017

A DW_OP_fbreg can have a negative offset (e.g. for parameters passed on the stack).
Handle that by using wrapping_add to avoid overflow. I believe this bug predates
the async-eval work I did here.

A DW_OP_fbreg can have a negative offset (e.g. for parameters passed on the stack).
Handle that by using wrapping_add to avoid overflow.  I believe this bug predates
the async-eval work I did here.
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.

Thanks!

@fitzgen fitzgen merged commit e227162 into gimli-rs:master Mar 17, 2017
@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.054% when pulling 714480c on khuey:overflow into fdfaba1 on gimli-rs:master.

@khuey khuey deleted the overflow branch March 17, 2017 18:59
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.

3 participants