File: precond2.1.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 (87 lines) | stat: -rw-r--r-- 3,999 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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/precond2.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}
[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.
tests/value/precond2.c:24:[kernel] warning: No code nor implicit assigns clause for function g, generating default assigns from the prototype
[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}
[rte] annotating function f
[rte] annotating function main
[report] Computing properties status...

--------------------------------------------------------------------------------
--- Properties of Function 'g'
--------------------------------------------------------------------------------

[    -    ] Assigns nothing
            assigns \nothing;
            tried with Inferred annotations.
[    -    ] Default behavior
            default behavior
            tried with Frama-C kernel.

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

[  Valid  ] Instance of 'Pre-condition (file tests/value/precond2.c, line 9)' at call 'f' (file tests/value/precond2.c, line 21)

            status of 'requires i + 1 ≥ 0' of f at stmt 6
            by Value.
[  Valid  ] Instance of 'Pre-condition (file tests/value/precond2.c, line 10)' at call 'f' (file tests/value/precond2.c, line 21)

            status of 'requires i ≥ 0' of f at stmt 6
            by Value.
[  Valid  ] Instance of 'Pre-condition (file tests/value/precond2.c, line 9)' at call 'f' (file tests/value/precond2.c, line 22)

            status of 'requires i + 1 ≥ 0' of f at stmt 9
            by Value.
[  Alarm  ] Instance of 'Pre-condition (file tests/value/precond2.c, line 10)' at call 'f' (file tests/value/precond2.c, line 22)

            status of 'requires i ≥ 0' of f at stmt 9
            By Value, with pending:
             - Unreachable call 'f' (file tests/value/precond2.c, line 22)
[  Valid  ] Instance of 'Pre-condition (file tests/value/precond2.c, line 16)' at call 'g' (file tests/value/precond2.c, line 24)

            status of 'requires x ≤ 8' of g at stmt 12
            by Value.
[  Valid  ] Instance of 'Pre-condition (file tests/value/precond2.c, line 16)' at call 'g' (file tests/value/precond2.c, line 24)

            status of 'requires x ≤ 8' of g at stmt 13
            by Value.

--------------------------------------------------------------------------------
--- Status Report Summary
--------------------------------------------------------------------------------
     5 Completely validated
     2 To be validated
     1 Alarm emitted
     8 Total
--------------------------------------------------------------------------------