diff_octagons 15.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
diff tests/builtins/oracle/Longinit_sequencer.res.oracle tests/builtins/oracle_octagons/Longinit_sequencer.res.oracle
327c327
<   tests/builtins/result/Longinit_sequencer.sav
---
>   tests/builtins/result_octagons/Longinit_sequencer.sav
568c568
<   tests/builtins/result/Longinit_sequencer.sav
---
>   tests/builtins/result_octagons/Longinit_sequencer.sav
diff tests/builtins/oracle/allocated.0.res.oracle tests/builtins/oracle_octagons/allocated.0.res.oracle
273c273
<   j ∈ [1..2147483647]
---
>   j ∈ {10}
diff tests/builtins/oracle/allocated.1.res.oracle tests/builtins/oracle_octagons/allocated.1.res.oracle
191a192,194
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_7
208a212,214
>   strong free on bases: {__malloc_main_l82_7}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
223a230,232
>   strong free on bases: {__malloc_main_l82_7}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
238a248,250
>   strong free on bases: {__malloc_main_l82_7}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
252,254c264,266
< [eva] tests/builtins/allocated.c:82: 
<   Call to builtin Frama_C_malloc_fresh for function malloc
< [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_7
---
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_7}
323a336,356
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_31
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_32
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_33
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_34
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_35
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_36
> [eva] tests/builtins/allocated.c:82: 
>   Call to builtin Frama_C_malloc_fresh for function malloc
> [eva] tests/builtins/allocated.c:82: allocating variable __malloc_main_l82_37
329,330d361
<   Trace partitioning superposing up to 300 states
< [eva] tests/builtins/allocated.c:84: 
333a365,385
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
403c455,473
<   strong free on bases: {__malloc_main_l82_7}
---
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
475c545,563
<   strong free on bases: {__malloc_main_l82_7}
---
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
547c635,653
<   strong free on bases: {__malloc_main_l82_7}
---
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
619c725,743
<   strong free on bases: {__malloc_main_l82_7}
---
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
691c815,833
<   strong free on bases: {__malloc_main_l82_7}
---
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
763c905,923
<   strong free on bases: {__malloc_main_l82_7}
---
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
835c995,1013
<   strong free on bases: {__malloc_main_l82_7}
---
>   strong free on bases: {__malloc_main_l82_37}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_36}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_35}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_34}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_33}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_32}
> [eva] tests/builtins/allocated.c:87: Call to builtin free
> [eva:malloc] tests/builtins/allocated.c:87: 
>   strong free on bases: {__malloc_main_l82_31}
905,907c1083,1084
< [eva] tests/builtins/allocated.c:87: Call to builtin free
< [eva:malloc] tests/builtins/allocated.c:87: 
<   strong free on bases: {__malloc_main_l82_7}
---
> [eva] tests/builtins/allocated.c:81: 
>   Trace partitioning superposing up to 500 states
1069,1071c1246,1247
<   __malloc_main_l82_7[0] ∈ {21} or UNINITIALIZED
<                      [1] ∈ {24} or UNINITIALIZED
<                      [2] ∈ {27} or UNINITIALIZED
---
>   __malloc_main_l82_7[0] ∈ {14} or UNINITIALIZED
>                      [1] ∈ {17} or UNINITIALIZED
1140a1317,1337
>   __malloc_main_l82_31[0] ∈ {21} or UNINITIALIZED
>                       [1] ∈ {24} or UNINITIALIZED
>                       [2] ∈ {27} or UNINITIALIZED
>   __malloc_main_l82_32[0] ∈ {21} or UNINITIALIZED
>                       [1] ∈ {24} or UNINITIALIZED
>                       [2] ∈ {27} or UNINITIALIZED
>   __malloc_main_l82_33[0] ∈ {21} or UNINITIALIZED
>                       [1] ∈ {24} or UNINITIALIZED
>                       [2] ∈ {27} or UNINITIALIZED
>   __malloc_main_l82_34[0] ∈ {21} or UNINITIALIZED
>                       [1] ∈ {24} or UNINITIALIZED
>                       [2] ∈ {27} or UNINITIALIZED
>   __malloc_main_l82_35[0] ∈ {21} or UNINITIALIZED
>                       [1] ∈ {24} or UNINITIALIZED
>                       [2] ∈ {27} or UNINITIALIZED
>   __malloc_main_l82_36[0] ∈ {21} or UNINITIALIZED
>                       [1] ∈ {24} or UNINITIALIZED
>                       [2] ∈ {27} or UNINITIALIZED
>   __malloc_main_l82_37[0] ∈ {21} or UNINITIALIZED
>                       [1] ∈ {24} or UNINITIALIZED
>                       [2] ∈ {27} or UNINITIALIZED
1184c1381
<   __malloc_main_l82_7[0..2] FROM __fc_heap_status; nondet (and SELF)
---
>   __malloc_main_l82_7[0..1] FROM __fc_heap_status; nondet (and SELF)
1207a1405,1411
>   __malloc_main_l82_31[0..2] FROM __fc_heap_status; nondet (and SELF)
>   __malloc_main_l82_32[0..2] FROM __fc_heap_status; nondet (and SELF)
>   __malloc_main_l82_33[0..2] FROM __fc_heap_status; nondet (and SELF)
>   __malloc_main_l82_34[0..2] FROM __fc_heap_status; nondet (and SELF)
>   __malloc_main_l82_35[0..2] FROM __fc_heap_status; nondet (and SELF)
>   __malloc_main_l82_36[0..2] FROM __fc_heap_status; nondet (and SELF)
>   __malloc_main_l82_37[0..2] FROM __fc_heap_status; nondet (and SELF)
1231c1435
<     __malloc_main_l82_6[0..1]; __malloc_main_l82_7[0..2];
---
>     __malloc_main_l82_6[0..1]; __malloc_main_l82_7[0..1];
1243,1244c1447,1452
<     __malloc_main_l82_30[0..2]; __malloc_main_l97[0]; __malloc_main_l114[0..3];
<     __malloc_main_l127; __malloc_main_l127_0[0..1]; __malloc_main_l127_1[0..2];
---
>     __malloc_main_l82_30[0..2]; __malloc_main_l82_31[0..2];
>     __malloc_main_l82_32[0..2]; __malloc_main_l82_33[0..2];
>     __malloc_main_l82_34[0..2]; __malloc_main_l82_35[0..2];
>     __malloc_main_l82_36[0..2]; __malloc_main_l82_37[0..2];
>     __malloc_main_l97[0]; __malloc_main_l114[0..3]; __malloc_main_l127;
>     __malloc_main_l127_0[0..1]; __malloc_main_l127_1[0..2];
diff tests/builtins/oracle/imprecise.res.oracle tests/builtins/oracle_octagons/imprecise.res.oracle
224a225,226
> [kernel] tests/builtins/imprecise.c:111: 
>   more than 200(300) elements to enumerate. Approximating.
233a236,237
> [kernel] tests/builtins/imprecise.c:114: 
>   more than 200(300) elements to enumerate. Approximating.
237,240d240
< [kernel] tests/builtins/imprecise.c:111: 
<   more than 200(300) elements to enumerate. Approximating.
< [kernel] tests/builtins/imprecise.c:114: 
<   more than 200(300) elements to enumerate. Approximating.
diff tests/builtins/oracle/linked_list.1.res.oracle tests/builtins/oracle_octagons/linked_list.1.res.oracle
316
530a531,532
317
318
> [kernel] tests/builtins/linked_list.c:43: 
>   more than 100(128) elements to enumerate. Approximating.
319
532a535,536
320
321
> [kernel] tests/builtins/linked_list.c:44: 
>   more than 100(128) elements to enumerate. Approximating.
322
628,631d631
323
324
325
326
327
328
329
330
331
332
333
334
335
< [kernel] tests/builtins/linked_list.c:43: 
<   more than 100(128) elements to enumerate. Approximating.
< [kernel] tests/builtins/linked_list.c:44: 
<   more than 100(128) elements to enumerate. Approximating.
diff tests/builtins/oracle/malloc-optimistic.res.oracle tests/builtins/oracle_octagons/malloc-optimistic.res.oracle
3520c3520
<   i ∈ [14..100]
---
>   i ∈ {98; 99; 100}
3524c3524
<   i ∈ [14..100]
---
>   i ∈ {98; 99; 100}