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
|
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/precond2.c (with preprocessing)
[rte] annotating function f
[rte] annotating function main
tests/value/precond2.c:24:[kernel] warning: No code nor implicit assigns clause for function g, generating default assigns from the prototype
[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}
[value] computing for function f <- main.
Called from tests/value/precond2.c:21.
tests/value/precond2.c:9:[value] function f: precondition got status valid.
tests/value/precond2.c:10:[value] function f: precondition got status valid.
[value] Recording results for f
[value] Done for function f
[value] computing for function f <- main.
Called from tests/value/precond2.c:22.
tests/value/precond2.c:10:[value] warning: function f: precondition got status invalid.
[value] Recording results for f
[value] Done for function f
[value] computing for function g <- main.
Called from tests/value/precond2.c:24.
[value] using specification for function g
tests/value/precond2.c:16:[value] function g: precondition got status valid.
[value] Done for function g
[value] computing for function g <- main.
Called from tests/value/precond2.c:24.
[value] Done for function g
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function f:
x ∈ {1}
[value:final-states] Values at end of function main:
x ∈ {0; 1}
[report] Computing properties status...
--------------------------------------------------------------------------------
--- Properties of Function 'f'
--------------------------------------------------------------------------------
[ Valid ] Pre-condition (file tests/value/precond2.c, line 9)
requires i + 1 ≥ 0
by Call Preconditions.
[ Alarm ] Pre-condition (file tests/value/precond2.c, line 10)
requires i ≥ 0
By Call Preconditions, with pending:
- Unreachable call 'f' (file tests/value/precond2.c, line 22)
--------------------------------------------------------------------------------
--- Properties of Function 'g'
--------------------------------------------------------------------------------
[ Valid ] Pre-condition (file tests/value/precond2.c, line 16)
requires x ≤ 8
by Call Preconditions.
[ - ] Assigns nothing
assigns \nothing;
tried with Inferred annotations.
[ - ] Default behavior
default behavior
tried with Frama-C kernel.
--------------------------------------------------------------------------------
--- Properties of Function 'main'
--------------------------------------------------------------------------------
[ Valid ] Pre-condition for 'pre_f' (generated) at call 'f' (file tests/value/precond2.c, line 21)
requires 1 + 1 ≥ 0
by Value.
[ Valid ] Pre-condition for 'pre_f' (generated) at call 'f' (file tests/value/precond2.c, line 21)
requires 1 ≥ 0
by Value.
[ Valid ] Pre-condition for 'pre_f_2' (generated) at call 'f' (file tests/value/precond2.c, line 22)
requires (int)(-1) + 1 ≥ 0
by Value.
[ Alarm ] Pre-condition for 'pre_f_2' (generated) at call 'f' (file tests/value/precond2.c, line 22)
requires (int)(-1) ≥ 0
By Value, with pending:
- Unreachable call 'f' (file tests/value/precond2.c, line 22)
[ Valid ] Pre-condition for 'pre_g' (generated) at call 'g' (file tests/value/precond2.c, line 24)
requires x ≤ 8
by Value.
[ Valid ] Pre-condition for 'pre_g_2' (generated) at call 'g' (file tests/value/precond2.c, line 24)
requires x ≤ 8
by Value.
--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
7 Completely validated
2 To be validated
2 Alarms emitted
11 Total
--------------------------------------------------------------------------------
|