Skip to content

Subprogram body stub #245

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 7 commits into from
Jun 14, 2019
Merged

Conversation

tjj2017
Copy link
Collaborator

@tjj2017 tjj2017 commented Jun 1, 2019

UKNI has subprogram_body_stubs. The changes on this branch facilitate handling of these stubs by gnat2goto.

The test program which has been added to the regression tests for this new feature, P, has an assertion I think should succeed (if overflows are ignored), but it seems at the moment that the assertion fails. The action of the called subprogram, Inc, does not seem to be considered by cbmc.

Should I mark this with an XFAIL? If so I think I should have another test without the assertion so that the subprogram_body_stub feature is always tested.

@tjj2017
Copy link
Collaborator Author

tjj2017 commented Jun 4, 2019

I have rebased this branch to diffblue/master

@tjj2017 tjj2017 force-pushed the subprogram_body_stub branch 2 times, most recently from 144e42f to 27bf078 Compare June 14, 2019 11:31
@tjj2017
Copy link
Collaborator Author

tjj2017 commented Jun 14, 2019

I have rebased this on PR #220 as this fix is required for this branch. It passes the regression tests and I have updated the golden results

@martin-cs
Copy link
Collaborator

Should that be rebased on to #256 ?

@tjj2017 tjj2017 force-pushed the subprogram_body_stub branch from 27bf078 to d1483bb Compare June 14, 2019 15:04
@tjj2017 tjj2017 force-pushed the subprogram_body_stub branch from d1483bb to 2e5c86f Compare June 14, 2019 15:05
@chrisr-diffblue
Copy link
Contributor

@martin-cs - yeah, it's been rebased on master now #256 has been merged.

Copy link
Contributor

@xbauch xbauch left a comment

Choose a reason for hiding this comment

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

Looks good.

@chrisr-diffblue chrisr-diffblue merged commit 9f260a1 into diffblue:master Jun 14, 2019
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.

4 participants