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
|
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/init_const_guard.i (no preprocessing)
[value] Analyzing a complete application starting at f
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
x ∈ {0}
q ∈ {{ &x }}
p ∈ {{ &x }}
v ∈ [--..--]
tests/value/init_const_guard.i:14:[value] function f: postcondition 'Const' got status valid.
tests/value/init_const_guard.i:15:[value] function f: postcondition 'Pointed_Valid' got status valid.
tests/value/init_const_guard.i:16:[value] function f: postcondition 'Q_ReadOnly' got status valid.
tests/value/init_const_guard.i:17:[value] function f: postcondition 'Q_NotWrite' got status valid.
[value] Recording results for f
[value] done for function f
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function f:
__retres ∈ {0}
[from] Computing for function f
[from] Done for function f
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function f:
\result FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function f:
__retres
[inout] Inputs for function f:
\nothing
[report] Computing properties status...
--------------------------------------------------------------------------------
--- Properties of Function 'f'
--------------------------------------------------------------------------------
[ Valid ] Post-condition 'Const'
by Value.
[ Valid ] Post-condition 'Pointed_Valid'
by Value.
[ Valid ] Post-condition 'Q_ReadOnly'
by Value.
[ Valid ] Post-condition 'Q_NotWrite'
by Value.
[ Valid ] Default behavior
by Frama-C kernel.
--------------------------------------------------------------------------------
--- Properties of Function 'g'
--------------------------------------------------------------------------------
[ Dead ] Assertion 'Read' (file tests/value/init_const_guard.i, line 32)
Locally valid, but unreachable.
By Value because:
- Unreachable program point (file tests/value/init_const_guard.i, line 32)
[ Dead ] Assertion 'Guard_against_Const' (file tests/value/init_const_guard.i, line 33)
Locally valid, but unreachable.
By Value because:
- Unreachable program point (file tests/value/init_const_guard.i, line 33)
[Unreachable] Unreachable program point (file tests/value/init_const_guard.i, line 32)
by Value.
[Unreachable] Unreachable program point (file tests/value/init_const_guard.i, line 33)
by Value.
--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
5 Completely validated
2 Dead properties
2 Unreachable
9 Total
--------------------------------------------------------------------------------
[value] Analyzing a complete application starting at g
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
x ∈ {0}
q ∈ {{ &x }}
p ∈ {{ &x }}
v ∈ [--..--]
tests/value/init_const_guard.i:32:[value] assertion 'Read' got status valid.
tests/value/init_const_guard.i:33:[value] assertion 'Guard_against_Const' got status valid.
tests/value/init_const_guard.i:35:[value] warning: out of bounds write. assert \valid(p);
tests/value/init_const_guard.i:35:[kernel] warning: all target addresses were invalid. This path is assumed to be dead.
tests/value/init_const_guard.i:27:[value] function g: postcondition 'P_not_Const' got status valid.
[value] Recording results for g
[value] done for function g
tests/value/init_const_guard.i:35:[value] assertion 'Value,mem_access' got final status invalid.
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function g:
p ∈ {{ &x }}
[from] Computing for function g
[from] Done for function g
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function g:
x FROM v (and SELF)
p FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function g:
p
[inout] Inputs for function g:
p; v
[report] Computing properties status...
--------------------------------------------------------------------------------
--- Properties of Function 'f'
--------------------------------------------------------------------------------
[ Partial ] Default behavior
By Frama-C kernel, with pending:
- Post-condition 'Const'
- Post-condition 'Pointed_Valid'
- Post-condition 'Q_ReadOnly'
- Post-condition 'Q_NotWrite'
--------------------------------------------------------------------------------
--- Properties of Function 'g'
--------------------------------------------------------------------------------
[ Valid ] Post-condition 'P_not_Const'
by Value.
[ Valid ] Assertion 'Read' (file tests/value/init_const_guard.i, line 32)
by Value.
[ Valid ] Assertion 'Guard_against_Const' (file tests/value/init_const_guard.i, line 33)
by Value.
[ Alarm ] Assertion 'Value,mem_access' (file tests/value/init_const_guard.i, line 35)
By Value, with pending:
- Unreachable instruction (file tests/value/init_const_guard.i, line 35)
[ Valid ] Default behavior
by Frama-C kernel.
--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
4 Completely validated
1 Locally validated
1 Alarm emitted
6 Total
--------------------------------------------------------------------------------
[value] Analyzing an incomplete application starting at f
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
x ∈ [--..--]
q ∈ {{ &x }}
p ∈ {{ NULL ; &S_p[0] }}
v ∈ [--..--]
S_p[0..1] ∈ [--..--]
[value] Recording results for f
[value] done for function f
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function f:
__retres ∈ {0}
[from] Computing for function f
[from] Done for function f
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function f:
\result FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function f:
__retres
[inout] Inputs for function f:
\nothing
[report] Computing properties status...
--------------------------------------------------------------------------------
--- Properties of Function 'f'
--------------------------------------------------------------------------------
[ Valid ] Post-condition 'Const'
by Value.
[ Valid ] Post-condition 'Pointed_Valid'
by Value.
[ Valid ] Post-condition 'Q_ReadOnly'
by Value.
[ Valid ] Post-condition 'Q_NotWrite'
by Value.
[ Valid ] Default behavior
by Frama-C kernel.
--------------------------------------------------------------------------------
--- Properties of Function 'g'
--------------------------------------------------------------------------------
[ Dead ] Assertion 'Read' (file tests/value/init_const_guard.i, line 32)
Locally valid, but unreachable.
By Value because:
- Unreachable program point (file tests/value/init_const_guard.i, line 32)
[ Dead ] Assertion 'Guard_against_Const' (file tests/value/init_const_guard.i, line 33)
Locally valid, but unreachable.
By Value because:
- Unreachable program point (file tests/value/init_const_guard.i, line 33)
[ Partial ] Default behavior
By Frama-C kernel, with pending:
- Post-condition 'P_not_Const'
[Unreachable] Unreachable program point (file tests/value/init_const_guard.i, line 32)
by Value.
[Unreachable] Unreachable program point (file tests/value/init_const_guard.i, line 33)
by Value.
--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
5 Completely validated
1 Locally validated
2 Dead properties
2 Unreachable
10 Total
--------------------------------------------------------------------------------
[value] Analyzing an incomplete application starting at g
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
x ∈ [--..--]
q ∈ {{ &x }}
p ∈ {{ NULL ; &S_p[0] }}
v ∈ [--..--]
S_p[0..1] ∈ [--..--]
tests/value/init_const_guard.i:35:[value] warning: out of bounds write. assert \valid(p);
[value] Recording results for g
[value] done for function g
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function g:
p ∈ {{ &x }}
[from] Computing for function g
[from] Done for function g
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function g:
x FROM v (and SELF)
p FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function g:
p
[inout] Inputs for function g:
p; v
[report] Computing properties status...
--------------------------------------------------------------------------------
--- Properties of Function 'f'
--------------------------------------------------------------------------------
[ Partial ] Default behavior
By Frama-C kernel, with pending:
- Post-condition 'Const'
- Post-condition 'Pointed_Valid'
- Post-condition 'Q_ReadOnly'
- Post-condition 'Q_NotWrite'
--------------------------------------------------------------------------------
--- Properties of Function 'g'
--------------------------------------------------------------------------------
[ Valid ] Post-condition 'P_not_Const'
by Value.
[ Valid ] Assertion 'Read' (file tests/value/init_const_guard.i, line 32)
by Value.
[ Valid ] Assertion 'Guard_against_Const' (file tests/value/init_const_guard.i, line 33)
by Value.
[ Alarm ] Assertion 'Value,mem_access' (file tests/value/init_const_guard.i, line 35)
By Value, with pending:
- Unreachable instruction (file tests/value/init_const_guard.i, line 35)
[ Valid ] Default behavior
by Frama-C kernel.
--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
4 Completely validated
1 Locally validated
1 Alarm emitted
6 Total
--------------------------------------------------------------------------------
|