File: pointer_comparison.0.res.oracle

package info (click to toggle)
frama-c 20161101%2Bsilicon%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,324 kB
  • ctags: 35,695
  • sloc: ml: 200,142; ansic: 31,465; makefile: 2,334; sh: 1,643; lisp: 259; python: 85; asm: 26
file content (205 lines) | stat: -rw-r--r-- 9,458 bytes parent folder | download
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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/pointer_comparison.c (with preprocessing)
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
  x ∈ {0}
  y ∈ {0}
  p ∈ {0}
[value] Called Frama_C_show_each_1t({{ &x + {4} }})
[value] Called Frama_C_show_each_2({{ &x + {8} }})
[value] Called Frama_C_show_each_3({{ &x + {12} }})
[value] Called Frama_C_show_each_4({{ &x + {16} }})
[value] Called Frama_C_show_each_5({{ &x + {16} }})
tests/value/pointer_comparison.c:18:[value] entering loop for the first time
[value] Called Frama_C_show_each_6({{ &x + {20} }})
[value] Called Frama_C_show_each_6({{ &x + {20; 24} }})
[value] Called Frama_C_show_each_6({{ &x + {20; 24; 28} }})
[value] Called Frama_C_show_each_6({{ &x + [20..--],0%4 }})
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
  NON TERMINATING FUNCTION
[from] Computing for function main
[from] Non-terminating function main (no dependencies)
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
       These dependencies hold at termination for the executions that terminate:
[from] Function main:
  NON TERMINATING - NO EFFECTS
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main:
          p; tmp; tmp_0; tmp_1; tmp_2; tmp_3
[inout] Inputs for function main:
          p
[report] Computing properties status...

--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
     0 Total
--------------------------------------------------------------------------------
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
  x ∈ {0}
  y ∈ {0}
  p ∈ {0}
[value] Called Frama_C_show_each_1t({{ &x + {4} }})
tests/value/pointer_comparison.c:10:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_0, (void *)(&y));
                 (tmp_0 from p++)
[value] Called Frama_C_show_each_2({{ &x + {8} }})
tests/value/pointer_comparison.c:12:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_1, (void *)(&y));
                 (tmp_1 from p++)
[value] Called Frama_C_show_each_3({{ &x + {12} }})
tests/value/pointer_comparison.c:14:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_2, (void *)(&y));
                 (tmp_2 from p++)
[value] Called Frama_C_show_each_4({{ &x + {16} }})
[value] Called Frama_C_show_each_5({{ &x + {16} }})
tests/value/pointer_comparison.c:18:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_3, (void *)(&y));
                 (tmp_3 from p++)
[value] Called Frama_C_show_each_6({{ &x + {20} }})
[value] Called Frama_C_show_each_6({{ &x + {20; 24} }})
[value] Called Frama_C_show_each_6({{ &x + {20; 24; 28} }})
[value] Called Frama_C_show_each_6({{ &x + [20..--],0%4 }})
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
  NON TERMINATING FUNCTION
[from] Computing for function main
[from] Non-terminating function main (no dependencies)
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
       These dependencies hold at termination for the executions that terminate:
[from] Function main:
  NON TERMINATING - NO EFFECTS
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main:
          p; tmp; tmp_0; tmp_1; tmp_2; tmp_3
[inout] Inputs for function main:
          p
[report] Computing properties status...

--------------------------------------------------------------------------------
--- Properties of Function 'main'
--------------------------------------------------------------------------------

[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 10)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_0, (void *)(&y));
            tried with Value.
[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 12)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_1, (void *)(&y));
            tried with Value.
[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 14)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_2, (void *)(&y));
            tried with Value.
[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 18)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_3, (void *)(&y));
            tried with Value.

--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
     4 To be validated
     4 Total
--------------------------------------------------------------------------------
[value] Analyzing a complete application starting at main
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
  x ∈ {0}
  y ∈ {0}
  p ∈ {0}
[value] Called Frama_C_show_each_1t({{ &x + {4} }})
tests/value/pointer_comparison.c:10:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_0, (void *)(&y));
                 (tmp_0 from p++)
[value] Called Frama_C_show_each_2({{ &x + {8} }})
tests/value/pointer_comparison.c:12:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_1, (void *)(&y));
                 (tmp_1 from p++)
[value] Called Frama_C_show_each_3({{ &x + {12} }})
tests/value/pointer_comparison.c:14:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_2, (void *)(&y));
                 (tmp_2 from p++)
[value] Called Frama_C_show_each_4({{ &x + {16} }})
tests/value/pointer_comparison.c:16:[value] warning: pointer comparison. assert \pointer_comparable((void *)p, (void *)(&y));
[value] Called Frama_C_show_each_5({{ &x + {16} }})
tests/value/pointer_comparison.c:18:[value] warning: pointer comparison.
                 assert \pointer_comparable((void *)tmp_3, (void *)(&y));
                 (tmp_3 from p++)
[value] Called Frama_C_show_each_6({{ &x + {20} }})
[value] Called Frama_C_show_each_6({{ &x + {20; 24} }})
[value] Called Frama_C_show_each_6({{ &x + {20; 24; 28} }})
[value] Called Frama_C_show_each_6({{ &x + [20..--],0%4 }})
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
  NON TERMINATING FUNCTION
[from] Computing for function main
[from] Non-terminating function main (no dependencies)
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
       These dependencies hold at termination for the executions that terminate:
[from] Function main:
  NON TERMINATING - NO EFFECTS
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main:
          p; tmp; tmp_0; tmp_1; tmp_2; tmp_3
[inout] Inputs for function main:
          p
[report] Computing properties status...

--------------------------------------------------------------------------------
--- Properties of Function 'main'
--------------------------------------------------------------------------------

[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 10)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_0, (void *)(&y));
            tried with Value.
[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 12)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_1, (void *)(&y));
            tried with Value.
[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 14)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_2, (void *)(&y));
            tried with Value.
[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 16)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)p, (void *)(&y));
            tried with Value.
[    -    ] Assertion 'Value,ptr_comparison' (file tests/value/pointer_comparison.c, line 18)
            assert
            Value: ptr_comparison:
              \pointer_comparable((void *)tmp_3, (void *)(&y));
            tried with Value.

--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
     5 To be validated
     5 Total
--------------------------------------------------------------------------------