@@ -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 |
@@ -138,8 +147,24 @@ astGuardsCompare
138
147
| 109 | y < 0+0 when ... < ... is true |
139
148
| 109 | y >= 0+0 when ... < ... is false |
140
149
| 109 | y >= 0+0 when ... \|\| ... is false |
150
+ | 126 | 1 != 0 when 1 is true |
151
+ | 126 | 1 != 0 when ... && ... is true |
152
+ | 126 | 1 == 0 when 1 is false |
153
+ | 126 | call to test3_condition != 0 when ... && ... is true |
154
+ | 126 | call to test3_condition != 0 when call to test3_condition is true |
155
+ | 126 | call to test3_condition == 0 when call to test3_condition is false |
156
+ | 131 | b != 0 when b is true |
157
+ | 131 | b == 0 when b is false |
158
+ | 137 | 0 != 0 when 0 is true |
159
+ | 137 | 0 == 0 when 0 is false |
141
160
| 146 | x != 0 when ! ... is false |
142
161
| 146 | x == 0 when ! ... is true |
162
+ | 152 | x != 0 when ... && ... is true |
163
+ | 152 | x != 0 when x is true |
164
+ | 152 | x == 0 when x is false |
165
+ | 152 | y != 0 when ... && ... is true |
166
+ | 152 | y != 0 when y is true |
167
+ | 152 | y == 0 when y is false |
143
168
| 156 | ... + ... != x+0 when ... == ... is false |
144
169
| 156 | ... + ... == x+0 when ... == ... is true |
145
170
| 156 | x != ... + ...+0 when ... == ... is false |
@@ -178,6 +203,8 @@ astGuardsCompare
178
203
| 175 | call to foo != 0+0 when ... == ... is false |
179
204
| 175 | call to foo == 0 when ... == ... is true |
180
205
| 175 | call to foo == 0+0 when ... == ... is true |
206
+ | 181 | x != 0 when x is true |
207
+ | 181 | x == 0 when x is false |
181
208
astGuardsControl
182
209
| test.c:7:9:7:13 | ... > ... | false | 10 | 11 |
183
210
| test.c:7:9:7:13 | ... > ... | true | 7 | 9 |
@@ -249,13 +276,29 @@ astGuardsControl
249
276
| test.c:109:9:109:14 | ... == ... | false | 113 | 113 |
250
277
| test.c:109:9:109:23 | ... \|\| ... | false | 113 | 113 |
251
278
| test.c:109:19:109:23 | ... < ... | false | 113 | 113 |
279
+ | test.c:126:7:126:7 | 1 | true | 126 | 126 |
280
+ | test.c:126:7:126:7 | 1 | true | 126 | 128 |
281
+ | test.c:126:7:126:7 | 1 | true | 131 | 131 |
282
+ | test.c:126:7:126:7 | 1 | true | 131 | 132 |
283
+ | test.c:126:7:126:7 | 1 | true | 134 | 123 |
284
+ | test.c:126:7:126:28 | ... && ... | true | 126 | 128 |
285
+ | test.c:126:12:126:26 | call to test3_condition | true | 126 | 128 |
286
+ | test.c:131:7:131:7 | b | true | 131 | 132 |
287
+ | test.c:137:7:137:7 | 0 | false | 142 | 136 |
252
288
| test.c:146:7:146:8 | ! ... | true | 146 | 147 |
289
+ | test.c:152:10:152:10 | x | true | 151 | 152 |
290
+ | test.c:152:10:152:10 | x | true | 152 | 152 |
291
+ | test.c:152:10:152:15 | ... && ... | true | 151 | 152 |
292
+ | test.c:152:15:152:15 | y | true | 151 | 152 |
253
293
| test.c:156:9:156:19 | ... == ... | true | 156 | 157 |
254
294
| test.c:159:9:159:19 | ... == ... | true | 159 | 160 |
255
295
| test.c:162:9:162:18 | ... < ... | true | 162 | 163 |
256
296
| test.c:165:9:165:18 | ... < ... | true | 165 | 166 |
257
297
| test.c:175:13:175:32 | ... == ... | false | 175 | 175 |
258
298
| test.c:175:13:175:32 | ... == ... | true | 175 | 175 |
299
+ | test.c:181:9:181:9 | x | false | 183 | 184 |
300
+ | test.c:181:9:181:9 | x | true | 181 | 182 |
301
+ | test.c:181:9:181:9 | x | true | 186 | 180 |
259
302
| test.cpp:18:8:18:10 | call to get | true | 19 | 19 |
260
303
| test.cpp:31:7:31:13 | ... == ... | false | 30 | 30 |
261
304
| test.cpp:31:7:31:13 | ... == ... | false | 34 | 34 |
@@ -477,9 +520,27 @@ astGuardsEnsure_const
477
520
| test.c:109:9:109:14 | ... == ... | test.c:109:9:109:9 | x | != | 0 | 109 | 109 |
478
521
| test.c:109:9:109:14 | ... == ... | test.c:109:9:109:9 | x | != | 0 | 113 | 113 |
479
522
| test.c:109:9:109:23 | ... \|\| ... | test.c:109:9:109:9 | x | != | 0 | 113 | 113 |
523
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 126 | 126 |
524
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 126 | 128 |
525
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 131 | 131 |
526
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 131 | 132 |
527
+ | test.c:126:7:126:7 | 1 | test.c:126:7:126:7 | 1 | != | 0 | 134 | 123 |
528
+ | test.c:126:7:126:28 | ... && ... | test.c:126:7:126:7 | 1 | != | 0 | 126 | 128 |
529
+ | test.c:126:7:126:28 | ... && ... | test.c:126:12:126:26 | call to test3_condition | != | 0 | 126 | 128 |
530
+ | test.c:126:12:126:26 | call to test3_condition | test.c:126:12:126:26 | call to test3_condition | != | 0 | 126 | 128 |
531
+ | test.c:131:7:131:7 | b | test.c:131:7:131:7 | b | != | 0 | 131 | 132 |
532
+ | test.c:137:7:137:7 | 0 | test.c:137:7:137:7 | 0 | == | 0 | 142 | 136 |
480
533
| test.c:146:7:146:8 | ! ... | test.c:146:8:146:8 | x | == | 0 | 146 | 147 |
534
+ | test.c:152:10:152:10 | x | test.c:152:10:152:10 | x | != | 0 | 151 | 152 |
535
+ | test.c:152:10:152:10 | x | test.c:152:10:152:10 | x | != | 0 | 152 | 152 |
536
+ | test.c:152:10:152:15 | ... && ... | test.c:152:10:152:10 | x | != | 0 | 151 | 152 |
537
+ | test.c:152:10:152:15 | ... && ... | test.c:152:15:152:15 | y | != | 0 | 151 | 152 |
538
+ | test.c:152:15:152:15 | y | test.c:152:15:152:15 | y | != | 0 | 151 | 152 |
481
539
| test.c:175:13:175:32 | ... == ... | test.c:175:13:175:15 | call to foo | != | 0 | 175 | 175 |
482
540
| test.c:175:13:175:32 | ... == ... | test.c:175:13:175:15 | call to foo | == | 0 | 175 | 175 |
541
+ | test.c:181:9:181:9 | x | test.c:181:9:181:9 | x | != | 0 | 181 | 182 |
542
+ | test.c:181:9:181:9 | x | test.c:181:9:181:9 | x | != | 0 | 186 | 180 |
543
+ | test.c:181:9:181:9 | x | test.c:181:9:181:9 | x | == | 0 | 183 | 184 |
483
544
| test.cpp:18:8:18:10 | call to get | test.cpp:18:8:18:10 | call to get | != | 0 | 19 | 19 |
484
545
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | -1 | 30 | 30 |
485
546
| test.cpp:31:7:31:13 | ... == ... | test.cpp:31:7:31:7 | x | != | -1 | 34 | 34 |
0 commit comments