Commit b2e3d09
committed
SMT back-end: flatten2bv must recurse into arrays and structs
The previous code would only work when array elements/struct members
were bitvectors already. This is not true for nested compound types.1 parent 7e8ecdc commit b2e3d09
File tree
2 files changed
+15
-23
lines changed- regression/cbmc/field-sensitivity16
- src/solvers/smt2
2 files changed
+15
-23
lines changed| 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 | |
|---|---|---|---|
| |||
4691 | 4691 | | |
4692 | 4692 | | |
4693 | 4693 | | |
4694 | | - | |
4695 | | - | |
4696 | | - | |
| 4694 | + | |
| 4695 | + | |
| 4696 | + | |
| 4697 | + | |
| 4698 | + | |
| 4699 | + | |
4697 | 4700 | | |
4698 | | - | |
| 4701 | + | |
| 4702 | + | |
4699 | 4703 | | |
4700 | | - | |
4701 | | - | |
4702 | | - | |
4703 | | - | |
4704 | | - | |
| 4704 | + | |
4705 | 4705 | | |
4706 | 4706 | | |
4707 | | - | |
| 4707 | + | |
| 4708 | + | |
| 4709 | + | |
4708 | 4710 | | |
4709 | 4711 | | |
4710 | 4712 | | |
| |||
4713 | 4715 | | |
4714 | 4716 | | |
4715 | 4717 | | |
4716 | | - | |
4717 | | - | |
4718 | 4718 | | |
4719 | 4719 | | |
4720 | 4720 | | |
4721 | | - | |
4722 | | - | |
4723 | | - | |
4724 | | - | |
4725 | 4721 | | |
4726 | 4722 | | |
4727 | 4723 | | |
| |||
4737 | 4733 | | |
4738 | 4734 | | |
4739 | 4735 | | |
4740 | | - | |
4741 | | - | |
| 4736 | + | |
4742 | 4737 | | |
4743 | 4738 | | |
4744 | 4739 | | |
4745 | 4740 | | |
4746 | 4741 | | |
4747 | 4742 | | |
4748 | | - | |
4749 | | - | |
| 4743 | + | |
4750 | 4744 | | |
4751 | 4745 | | |
4752 | 4746 | | |
4753 | | - | |
4754 | | - | |
4755 | 4747 | | |
4756 | 4748 | | |
4757 | 4749 | | |
| |||
0 commit comments