-
Notifications
You must be signed in to change notification settings - Fork 274
SMT Z3 trace fix #6210
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
SMT Z3 trace fix #6210
Conversation
This was previously unimplemented, which put null expressions into the trace steps and resulted in the elements of arrays not being printed when the trace is printed.
Codecov Report
@@ Coverage Diff @@
## develop #6210 +/- ##
===========================================
- Coverage 75.20% 75.06% -0.14%
===========================================
Files 1458 1458
Lines 161311 161374 +63
===========================================
- Hits 121318 121143 -175
- Misses 39993 40231 +238
Continue to review full report at Codecov.
|
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 don't see any arrays in these tests. Could you add any tests/checks for the added functionality?
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 OK but 1. can we have a few tests for this and 2. this will probably need cross solver testing as it is not a standardised part of SMT-LIB.
e4a0c2a
to
d125b1a
Compare
This is a fix for how we parse Z3 array output to reconstruct values in traces. This is specific bug fix for Z3 array output.
This removes the labels on some tests that used to have the broken-smt-backend flag but now pass.
Add two regression tests to check for array output in traces.
Merging this now that there are tests and everything passes. Also noting that this appears to do correct trace output for |
This PR fixes parsing of array values in traces from Z3.