Commit ddfaa65
committed
Byte-operator lowering: support void-typed updates
These may be generated when dereferencing invalid pointers, and are just no-ops.
Make sure we don't fail as size_of_expr would return nil_exprt() for those.1 parent 6d5d6cf commit ddfaa65
File tree
4 files changed
+16
-6
lines changed- regression/cbmc
- Pointer_byte_extract9
- byte_update3
- byte_update5
- src/solvers/lowering
4 files changed
+16
-6
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 | |
|---|---|---|---|
| |||
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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| 717 | + | |
717 | 718 | | |
718 | 719 | | |
719 | 720 | | |
720 | 721 | | |
721 | 722 | | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
722 | 726 | | |
723 | 727 | | |
724 | 728 | | |
| |||
1570 | 1574 | | |
1571 | 1575 | | |
1572 | 1576 | | |
1573 | | - | |
1574 | | - | |
1575 | | - | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
1576 | 1582 | | |
1577 | 1583 | | |
1578 | 1584 | | |
| |||
1606 | 1612 | | |
1607 | 1613 | | |
1608 | 1614 | | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
1609 | 1619 | | |
1610 | 1620 | | |
1611 | 1621 | | |
| |||
0 commit comments