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
|
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/reevaluate_alarms.i (no 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
S ∈ {0}
T[0..4] ∈ {0}
n ∈ {1}
[value] computing for function loop <- main.
Called from tests/value/reevaluate_alarms.i:34.
tests/value/reevaluate_alarms.i:13:[value] entering loop for the first time
tests/value/reevaluate_alarms.i:14:[value] warning: signed overflow. assert S + i ≤ 2147483647;
tests/value/reevaluate_alarms.i:14:[value] warning: out of bounds write. assert \valid(tmp);
(tmp from p++)
[value] Recording results for loop
[value] Done for function loop
[value] computing for function compute_n <- main.
Called from tests/value/reevaluate_alarms.i:36.
tests/value/reevaluate_alarms.i:19:[value] entering loop for the first time
tests/value/reevaluate_alarms.i:20:[value] warning: signed overflow. assert n * i ≤ 2147483647;
[value] Recording results for compute_n
[value] Done for function compute_n
[value] computing for function init_p <- main.
Called from tests/value/reevaluate_alarms.i:40.
[value] Recording results for init_p
[value] Done for function init_p
[value] computing for function initialized_p <- main.
Called from tests/value/reevaluate_alarms.i:41.
tests/value/reevaluate_alarms.i:30:[value] warning: accessing uninitialized left-value. assert \initialized(p);
[value] Recording results for initialized_p
[value] Done for function initialized_p
[value] computing for function init_p <- main.
Called from tests/value/reevaluate_alarms.i:43.
[value] Recording results for init_p
[value] Done for function init_p
[value] computing for function initialized_p <- main.
Called from tests/value/reevaluate_alarms.i:44.
[value] Recording results for initialized_p
[value] Done for function initialized_p
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function compute_n:
n ∈ [1..2147483647]
i ∈ {6}
[value:final-states] Values at end of function init_p:
x ∈ {0} or UNINITIALIZED
y ∈ {0} or UNINITIALIZED
[value:final-states] Values at end of function initialized_p:
x ∈ {1}
[value:final-states] Values at end of function loop:
S ∈ [0..2147483647]
T[0..4] ∈ [0..2147483647]
i ∈ {5}
p ∈ {{ &T + [0..--],0%4 }}
[value:final-states] Values at end of function main:
S ∈ [0..2147483647]
T[0..4] ∈ [0..2147483647]
n ∈ [1..2147483647]
x ∈ {0}
y ∈ {0}
__retres ∈ {0}
[from] Computing for function compute_n
[from] Done for function compute_n
[from] Computing for function init_p
[from] Done for function init_p
[from] Computing for function initialized_p
[from] Done for function initialized_p
[from] Computing for function loop
[from] Done for function loop
[from] Computing for function main
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function compute_n:
n FROM n (and SELF)
[from] Function init_p:
x FROM n; p (and SELF)
y FROM n; p (and SELF)
[from] Function initialized_p:
NO EFFECTS
[from] Function loop:
S FROM S (and SELF)
T[0..4] FROM S (and SELF)
\result FROM S
[from] Function main:
S FROM S (and SELF)
T[0..4] FROM S (and SELF)
n FROM n (and SELF)
\result FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function compute_n:
n; i
[inout] Inputs for function compute_n:
n
[inout] Out (internal) for function init_p:
x; y
[inout] Inputs for function init_p:
n
[inout] Out (internal) for function initialized_p:
x
[inout] Inputs for function initialized_p:
x; y
[inout] Out (internal) for function loop:
S; T[0..4]; i; p; tmp
[inout] Inputs for function loop:
S
[inout] Out (internal) for function main:
S; T[0..4]; n; x; y; __retres
[inout] Inputs for function main:
S; n
[report] Computing properties status...
--------------------------------------------------------------------------------
--- Properties of Function 'loop'
--------------------------------------------------------------------------------
[ - ] Assertion 'Value,signed_overflow' (file tests/value/reevaluate_alarms.i, line 14)
tried with Value.
[ - ] Assertion 'Value,mem_access' (file tests/value/reevaluate_alarms.i, line 14)
tried with Value.
--------------------------------------------------------------------------------
--- Properties of Function 'compute_n'
--------------------------------------------------------------------------------
[ - ] Assertion 'Value,signed_overflow' (file tests/value/reevaluate_alarms.i, line 20)
tried with Value.
--------------------------------------------------------------------------------
--- Properties of Function 'initialized_p'
--------------------------------------------------------------------------------
[ - ] Assertion 'Value,initialisation' (file tests/value/reevaluate_alarms.i, line 30)
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
S ∈ {0}
T[0..4] ∈ {0}
n ∈ {1}
[value] computing for function loop <- main.
Called from tests/value/reevaluate_alarms.i:34.
[value] Recording results for loop
[value] Done for function loop
[value] computing for function compute_n <- main.
Called from tests/value/reevaluate_alarms.i:36.
[value] Recording results for compute_n
[value] Done for function compute_n
[value] computing for function init_p <- main.
Called from tests/value/reevaluate_alarms.i:40.
[value] Recording results for init_p
[value] Done for function init_p
[value] computing for function initialized_p <- main.
Called from tests/value/reevaluate_alarms.i:41.
[value] Recording results for initialized_p
[value] Done for function initialized_p
[value] computing for function init_p <- main.
Called from tests/value/reevaluate_alarms.i:43.
[value] Recording results for init_p
[value] Done for function init_p
[value] computing for function initialized_p <- main.
Called from tests/value/reevaluate_alarms.i:44.
[value] Recording results for initialized_p
[value] Done for function initialized_p
[value] Recording results for main
[value] done for function main
tests/value/reevaluate_alarms.i:14:[value] assertion 'Value,signed_overflow' got final status valid.
tests/value/reevaluate_alarms.i:14:[value] assertion 'Value,mem_access' got final status valid.
tests/value/reevaluate_alarms.i:20:[value] assertion 'Value,signed_overflow' got final status valid.
tests/value/reevaluate_alarms.i:30:[value] assertion 'Value,initialisation' got final status valid.
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function compute_n:
n ∈ {120}
i ∈ {6}
[value:final-states] Values at end of function init_p:
x ∈ {0}
y ∈ {0} or UNINITIALIZED
[value:final-states] Values at end of function initialized_p:
x ∈ {1}
[value:final-states] Values at end of function loop:
S ∈ {10}
T[0] ∈ {0}
[1] ∈ {1}
[2] ∈ {3}
[3] ∈ {6}
[4] ∈ {10}
i ∈ {5}
p ∈ {{ &T[5] }}
[value:final-states] Values at end of function main:
S ∈ {10}
T[0] ∈ {0}
[1] ∈ {1}
[2] ∈ {3}
[3] ∈ {6}
[4] ∈ {10}
n ∈ {120}
x ∈ {0}
y ∈ {0}
__retres ∈ {0}
[from] Computing for function compute_n
[from] Done for function compute_n
[from] Computing for function init_p
[from] Done for function init_p
[from] Computing for function initialized_p
[from] Done for function initialized_p
[from] Computing for function loop
[from] Done for function loop
[from] Computing for function main
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
These dependencies hold at termination for the executions that terminate:
[from] Function compute_n:
n FROM n (and SELF)
[from] Function init_p:
x FROM n; p (and SELF)
y FROM n; p (and SELF)
[from] Function initialized_p:
NO EFFECTS
[from] Function loop:
S FROM S (and SELF)
T[0..4] FROM S (and SELF)
\result FROM S
[from] Function main:
S FROM S (and SELF)
T[0..4] FROM S (and SELF)
n FROM n (and SELF)
\result FROM \nothing
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function compute_n:
n; i
[inout] Inputs for function compute_n:
n
[inout] Out (internal) for function init_p:
x; y
[inout] Inputs for function init_p:
n
[inout] Out (internal) for function initialized_p:
x
[inout] Inputs for function initialized_p:
x; y
[inout] Out (internal) for function loop:
S; T[0..4]; i; p; tmp
[inout] Inputs for function loop:
S
[inout] Out (internal) for function main:
S; T[0..4]; n; x; y; __retres
[inout] Inputs for function main:
S; n
[report] Computing properties status...
--------------------------------------------------------------------------------
--- Properties of Function 'loop'
--------------------------------------------------------------------------------
[ Valid ] Assertion 'Value,signed_overflow' (file tests/value/reevaluate_alarms.i, line 14)
by Value (v2).
[ Valid ] Assertion 'Value,mem_access' (file tests/value/reevaluate_alarms.i, line 14)
by Value (v2).
--------------------------------------------------------------------------------
--- Properties of Function 'compute_n'
--------------------------------------------------------------------------------
[ Valid ] Assertion 'Value,signed_overflow' (file tests/value/reevaluate_alarms.i, line 20)
by Value (v2).
--------------------------------------------------------------------------------
--- Properties of Function 'initialized_p'
--------------------------------------------------------------------------------
[ Valid ] Assertion 'Value,initialisation' (file tests/value/reevaluate_alarms.i, line 30)
by Value (v2).
--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
4 Completely validated
4 Total
--------------------------------------------------------------------------------
|