Commit f89af9d
committed
SMT back-end: Extend trace value evaluation
We record the values of expressions by adding `expr == expr`
as constraints in order to be able to fetch and display them in the GOTO
trace (for declaration; we presently also introduce new symbols in other
cases). Constructing a trace then requires the ability to evaluate all
kinds of expressions to obtain the value for those expressions.
Fixes: #73081 parent 0060417 commit f89af9d
File tree
7 files changed
+43
-18
lines changed- regression
- cbmc
- Empty_struct3
- trace-values
- trace_options_json_extended
- validate-trace-xml-schema
- src/solvers/smt2
7 files changed
+43
-18
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | 300 | | |
309 | 301 | | |
310 | 302 | | |
| |||
321 | 313 | | |
322 | 314 | | |
323 | 315 | | |
324 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
325 | 320 | | |
326 | | - | |
| 321 | + | |
| 322 | + | |
327 | 323 | | |
328 | | - | |
329 | | - | |
| 324 | + | |
| 325 | + | |
330 | 326 | | |
331 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
332 | 331 | | |
333 | | - | |
| 332 | + | |
334 | 333 | | |
335 | 334 | | |
336 | 335 | | |
| |||
4780 | 4779 | | |
4781 | 4780 | | |
4782 | 4781 | | |
4783 | | - | |
| 4782 | + | |
| 4783 | + | |
| 4784 | + | |
4784 | 4785 | | |
4785 | 4786 | | |
4786 | 4787 | | |
| |||
0 commit comments