-
Notifications
You must be signed in to change notification settings - Fork 274
All-properties verifier [depends: 3584, blocks: 3794] #3585
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
All-properties verifier [depends: 3584, blocks: 3794] #3585
Conversation
2c3ed7f
to
3d5e246
Compare
src/goto-checker/properties.cpp
Outdated
// then overall it's still a PASS. | ||
if( | ||
result == property_resultt::NOT_REACHED || | ||
result == property_resultt::NOT_REACHABLE) |
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.
Since we do distinguish NOT_REACHED
from NOT_REACHABLE
, shouldn't the former yield UNKNOWN
?
const optionst &options, | ||
ui_message_handlert &ui_message_handler, | ||
abstract_goto_modelt &goto_model) | ||
: goto_verifiert(options, ui_message_handler), |
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.
Is this actually used in any way?
3d5e246
to
b0a05a8
Compare
To count how many properties have a certain status. This will be used in property reporting.
Plain text, XML and JSON output for property results.
Prints the property report in plain text, JSON or XML.
615786a
to
1f2b8c5
Compare
1f2b8c5
to
407b527
Compare
goto_model(goto_model), | ||
incremental_goto_checker(options, ui_message_handler, goto_model) | ||
{ | ||
properties = std::move(initialize_properties(goto_model)); |
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.
I think you don't need std::move
with an unnamed temporary, but I could be wrong.
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.
Yes, this should work without move; there is only a single allocation site in the callee.
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: 407b527).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/97175651
407b527
to
7ea25b5
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: 7ea25b5).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/97180336
Enable consistent result-dependent exit codes across all driver programs.
Enable consistent overall status reporting across all driver programs.
Used to update the properties map and to compute the overall result.
This will replace bmc_all_propertiest.
7ea25b5
to
c61ca64
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: c61ca64).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/97183649
This is going to replace
all_properties
(can be instantiated with anyincremental_goto_checkert
: multi-path and single-path will come next).Based on #3584, only review last 3 commits.