Skip to content

Live range fix #213

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

Merged
merged 4 commits into from
Aug 24, 2016
Merged

Live range fix #213

merged 4 commits into from
Aug 24, 2016

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Aug 24, 2016

This fixes inappropriate types being attached to Java locals when the same stack slot gets used for both named and unnamed locals with conflicting types. The attached testcase exhibits this (it tries to cast an int32 to an Object ref (illegal in Java) without the patch, but correctly returns an Object with it.

… named local uses a particular slot.

(Anonymous locals of different types might use the slot before or afterwards)
@smowton
Copy link
Contributor Author

smowton commented Aug 24, 2016

@kroening kroening merged commit 2cc583f into diffblue:master Aug 24, 2016
smowton pushed a commit to smowton/cbmc that referenced this pull request May 9, 2018
chrisr-diffblue added a commit to chrisr-diffblue/cbmc that referenced this pull request Aug 24, 2018
…ture-domain_summary-28

Feature domain summary 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

2 participants