Commit fbaf190
authored
fixes trivial assertions (#1108)
If an assertion doesn't contain a symbolic value then we were having
an empty set of constraints, which trivially were true. In other
words, `assert true` doesn't hold.
This PR fixes this by treating non-symbolic values as symbolic
constants.1 parent 5a98402 commit fbaf190
File tree
1 file changed
+9
-8
lines changed- plugins/primus_symbolic_executor
1 file changed
+9
-8
lines changedLines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
| 943 | + | |
| 944 | + | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
943 | 949 | | |
944 | 950 | | |
945 | 951 | | |
| |||
948 | 954 | | |
949 | 955 | | |
950 | 956 | | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
958 | 960 | | |
959 | 961 | | |
960 | 962 | | |
961 | | - | |
962 | 963 | | |
963 | 964 | | |
964 | 965 | | |
| |||
0 commit comments