-
Notifications
You must be signed in to change notification settings - Fork 277
Symex max depth default max #6222
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
Codecov Report
@@ Coverage Diff @@
## develop #6222 +/- ##
===========================================
- Coverage 75.30% 75.13% -0.18%
===========================================
Files 1458 1459 +1
Lines 161436 161449 +13
===========================================
- Hits 121575 121305 -270
- Misses 39861 40144 +283
Continue to review full report at Codecov.
|
4599ffc
to
973cad2
Compare
The default should be dealt with earlier, meaning when setting up |
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.
Daniel is correct; I should not have approved this. The correct fix is an else
here:
cbmc/src/cbmc/cbmc_parse_options.cpp
Line 261 in 06c563a
which sets the correct value. It might be worth seeing if unwind
has similar behaviour.
I tried changing the creation of the |
@TGWDB It is a fair question. In an ideal world the Historically, this bit of design intent has not been as widely followed as maybe it should have been, so in the older parts of the code you do find configuration parameters lurking much deeper. These should be treated as a legacy issue and ideally modernised and moved into the " HTH |
973cad2
to
0b3ac2b
Compare
Rather than an explicit |
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.
Seems a reasonable solution.
@kroening Any chance of a codeowner review now? |
This sets the default "depth" options to be UINT32_MAX in both cbmc and jbmc. This removes the need for special case handling and simplifies the depth checking. Fixes diffblue#2295
@TGWDB Please cleanup the commit history on this one. |
57afd55
to
c344048
Compare
Commit messages tidied up. This should just be waiting on codeowner review now. |
Paging @peterschrammel |
This PR implements the recommended fix in #2295.