-
Notifications
You must be signed in to change notification settings - Fork 274
goto-symex: use function and called_function fields [blocks: #3126] #3844
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: fb5bdcf).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/97888387
frame.loop_iterations[goto_programt::loop_id(*state.source.pc)].count; | ||
const auto &loop_id = | ||
goto_programt::loop_id(state.source.function, *state.source.pc); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
goto_programt::loop_id returns a temporary, so I would not use a reference here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, and I've now added a second commit to make sure we use goto_programt::loop_id
everywhere.
fb5bdcf
to
08504ec
Compare
08504ec
to
91c66b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: 91c66b4).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/97925014
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider #3828 (comment)
c6bdc44
to
67507db
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: c6bdc44).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/97968538
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: 67507db).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/97969840
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
@peterschrammel It's perfectly possible that the TG failure is genuine and caused by renaming the Marking this as do-not-merge for now. |
67507db
to
92ec183
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: 92ec183).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/98122649
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
@tautschnig could you please rebase this PR onto develop (or at least on top of #3876) so that I can compile with TG? |
goto_programt::instructionst::instructiont::function is going to go away, use the fields that are already available within goto-symex.
This ensures we build loop identifiers in the same way everywhere.
"function" is too ambiguous and "function_identifier" is too long, and mixing them is even worse.
92ec183
to
f33f64e
Compare
@allredj Rebase done. |
@tautschnig thanks. TG bump passing. |
Shall I merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: f33f64e).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/98458367
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
@allredj Thanks a lot, was away from my desk - merge done. Please merge the corresponding TG update. |
goto_programt::instructionst::instructiont::function is going to go away, use
the fields that are already available within goto-symex.