@@ -20,12 +20,21 @@ astGuards
20
20
| test.c:109:9:109:14 | ... == ... |
21
21
| test.c:109:9:109:23 | ... \|\| ... |
22
22
| test.c:109:19:109:23 | ... < ... |
23
+ | test.c:126:7:126:7 | 1 |
24
+ | test.c:126:7:126:28 | ... && ... |
25
+ | test.c:126:12:126:26 | call to test3_condition |
26
+ | test.c:131:7:131:7 | b |
27
+ | test.c:137:7:137:7 | 0 |
23
28
| test.c:146:7:146:8 | ! ... |
29
+ | test.c:152:10:152:10 | x |
30
+ | test.c:152:10:152:15 | ... && ... |
31
+ | test.c:152:15:152:15 | y |
24
32
| test.c:156:9:156:19 | ... == ... |
25
33
| test.c:159:9:159:19 | ... == ... |
26
34
| test.c:162:9:162:18 | ... < ... |
27
35
| test.c:165:9:165:18 | ... < ... |
28
36
| test.c:175:13:175:32 | ... == ... |
37
+ | test.c:181:9:181:9 | x |
29
38
| test.cpp:18:8:18:10 | call to get |
30
39
| test.cpp:31:7:31:13 | ... == ... |
31
40
| test.cpp:42:13:42:20 | call to getABool |
@@ -142,8 +151,24 @@ astGuardsCompare
142
151
| 109 | y < 0+0 when ... < ... is true |
143
152
| 109 | y >= 0+0 when ... < ... is false |
144
153
| 109 | y >= 0+0 when ... \|\| ... is false |
154
+ | 126 | 1 != 0 when 1 is true |
155
+ | 126 | 1 != 0 when ... && ... is true |
156
+ | 126 | 1 == 0 when 1 is false |
157
+ | 126 | call to test3_condition != 0 when ... && ... is true |
158
+ | 126 | call to test3_condition != 0 when call to test3_condition is true |
159
+ | 126 | call to test3_condition == 0 when call to test3_condition is false |
160
+ | 131 | b != 0 when b is true |
161
+ | 131 | b == 0 when b is false |
162
+ | 137 | 0 != 0 when 0 is true |
163
+ | 137 | 0 == 0 when 0 is false |
145
164
| 146 | x != 0 when ! ... is false |
146
165
| 146 | x == 0 when ! ... is true |
166
+ | 152 | x != 0 when ... && ... is true |
167
+ | 152 | x != 0 when x is true |
168
+ | 152 | x == 0 when x is false |
169
+ | 152 | y != 0 when ... && ... is true |
170
+ | 152 | y != 0 when y is true |
171
+ | 152 | y == 0 when y is false |
147
172
| 156 | ... + ... != x+0 when ... == ... is false |
148
173
| 156 | ... + ... == x+0 when ... == ... is true |
149
174
| 156 | x != ... + ...+0 when ... == ... is false |
@@ -182,6 +207,8 @@ astGuardsCompare
182
207
| 175 | call to foo != 0+0 when ... == ... is false |
183
208
| 175 | call to foo == 0 when ... == ... is true |
184
209
| 175 | call to foo == 0+0 when ... == ... is true |
210
+ | 181 | x != 0 when x is true |
211
+ | 181 | x == 0 when x is false |
185
212
astGuardsControl
186
213
| test.c:7:9:7:13 | ... > ... | false | 10 | 11 |
187
214
| test.c:7:9:7:13 | ... > ... | true | 7 | 9 |
@@ -253,13 +280,29 @@ astGuardsControl
253
280
| test.c:109:9:109:14 | ... == ... | false | 113 | 113 |
254
281
| test.c:109:9:109:23 | ... \|\| ... | false | 113 | 113 |
255
282
| test.c:109:19:109:23 | ... < ... | false | 113 | 113 |
283
+ | test.c:126:7:126:7 | 1 | true | 126 | 126 |
284
+ | test.c:126:7:126:7 | 1 | true | 126 | 128 |
285
+ | test.c:126:7:126:7 | 1 | true | 131 | 131 |
286
+ | test.c:126:7:126:7 | 1 | true | 131 | 132 |
287
+ | test.c:126:7:126:7 | 1 | true | 134 | 123 |
288
+ | test.c:126:7:126:28 | ... && ... | true | 126 | 128 |
289
+ | test.c:126:12:126:26 | call to test3_condition | true | 126 | 128 |
290
+ | test.c:131:7:131:7 | b | true | 131 | 132 |
291
+ | test.c:137:7:137:7 | 0 | false | 142 | 136 |
256
292
| test.c:146:7:146:8 | ! ... | true | 146 | 147 |
293
+ | test.c:152:10:152:10 | x | true | 151 | 152 |
294
+ | test.c:152:10:152:10 | x | true | 152 | 152 |
295
+ | test.c:152:10:152:15 | ... && ... | true | 151 | 152 |
296
+ | test.c:152:15:152:15 | y | true | 151 | 152 |
257
297
| test.c:156:9:156:19 | ... == ... | true | 156 | 157 |
258
298
| test.c:159:9:159:19 | ... == ... | true | 159 | 160 |
259
299
| test.c:162:9:162:18 | ... < ... | true | 162 | 163 |
260
300
| test.c:165:9:165:18 | ... < ... | true | 165 | 166 |
261
301
| test.c:175:13:175:32 | ... == ... | false | 175 | 175 |
262
302
| test.c:175:13:175:32 | ... == ... | true | 175 | 175 |
303
+ | test.c:181:9:181:9 | x | false | 183 | 184 |
304
+ | test.c:181:9:181:9 | x | true | 181 | 182 |
305
+ | test.c:181:9:181:9 | x | true | 186 | 180 |
263
306
| test.cpp:18:8:18:10 | call to get | true | 19 | 19 |
264
307
| test.cpp:31:7:31:13 | ... == ... | false | 30 | 30 |
265
308
| test.cpp:31:7:31:13 | ... == ... | false | 34 | 34 |
@@ -481,9 +524,27 @@ astGuardsEnsure_const
481
524
| test.c:109:9:109:14 | ... == ... | test.c:109:9:109:9 | x | != | 0 | 109 | 109 |
482
525
| test.c:109:9:109:14 | ... == ... | test.c:109:9:109:9 | x | != | 0 | 113 | 113 |
483
526
| test.c:109:9:109:23 | ... \|\| ... | test.c:109:9:109:9 | x | != | 0 | 113 | 113 |
527
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 126 | 126 |
528
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 126 | 128 |
529
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 131 | 131 |
530
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 131 | 132 |
531
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 134 | 123 |
532
+ | test.c:126:7:126:28 | ... && ... | test.c:126:7:126:7 | 1 | != | 0 | 126 | 128 |
533
+ | test.c:126:7:126:28 | ... && ... | test.c:126:12:126:26 | call to test3_condition | != | 0 | 126 | 128 |
534
+ | test.c:126:12:126:26 | call to test3_condition | test.c:126:12:126:26 | call to test3_condition | != | 0 | 126 | 128 |
535
+ | test.c:131:7:131:7 | b | test.c:131:7:131:7 | b | != | 0 | 131 | 132 |
536
+ | test.c:137:7:137:7 | 0 | test.c:137:7:137:7 | 0 | == | 0 | 142 | 136 |
484
537
| test.c:146:7:146:8 | ! ... | test.c:146:8:146:8 | x | == | 0 | 146 | 147 |
538
+ | test.c:152:10:152:10 | x | test.c:152:10:152:10 | x | != | 0 | 151 | 152 |
539
+ | test.c:152:10:152:10 | x | test.c:152:10:152:10 | x | != | 0 | 152 | 152 |
540
+ | test.c:152:10:152:15 | ... && ... | test.c:152:10:152:10 | x | != | 0 | 151 | 152 |
541
+ | test.c:152:10:152:15 | ... && ... | test.c:152:15:152:15 | y | != | 0 | 151 | 152 |
542
+ | test.c:152:15:152:15 | y | test.c:152:15:152:15 | y | != | 0 | 151 | 152 |
485
543
| test.c:175:13:175:32 | ... == ... | test.c:175:13:175:15 | call to foo | != | 0 | 175 | 175 |
486
544
| test.c:175:13:175:32 | ... == ... | test.c:175:13:175:15 | call to foo | == | 0 | 175 | 175 |
545
+ | test.c:181:9:181:9 | x | test.c:181:9:181:9 | x | != | 0 | 181 | 182 |
546
+ | test.c:181:9:181:9 | x | test.c:181:9:181:9 | x | != | 0 | 186 | 180 |
547
+ | test.c:181:9:181:9 | x | test.c:181:9:181:9 | x | == | 0 | 183 | 184 |
487
548
| test.cpp:18:8:18:10 | call to get | test.cpp:18:8:18:10 | call to get | != | 0 | 19 | 19 |
488
549
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | -1 | 30 | 30 |
489
550
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | -1 | 34 | 34 |
0 commit comments