File: cast_fun.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 (128 lines) | stat: -rw-r--r-- 6,326 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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/cast_fun.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
  
[value] computing for function f1 <- main.
        Called from tests/value/cast_fun.i:58.
[value] using specification for function f1
tests/value/cast_fun.i:6:[value] warning: no 'assigns \result \from ...' clause specified for function f1
[value] Done for function f1
tests/value/cast_fun.i:63:[value] warning: pointer to function with incompatible type. assert \valid_function(p1);
[value] computing for function f2 <- main.
        Called from tests/value/cast_fun.i:63.
[value] using specification for function f2
tests/value/cast_fun.i:8:[value] warning: no 'assigns \result \from ...' clause specified for function f2
[value] Done for function f2
[value] computing for function f3 <- main.
        Called from tests/value/cast_fun.i:68.
[value] using specification for function f3
tests/value/cast_fun.i:10:[value] warning: no 'assigns \result \from ...' clause specified for function f3
[value] Done for function f3
tests/value/cast_fun.i:73:[value] warning: pointer to function with incompatible type. assert \valid_function(p1);
tests/value/cast_fun.i:78:[value] warning: pointer to function with incompatible type. assert \valid_function(p1);
[value] computing for function f6 <- main.
        Called from tests/value/cast_fun.i:83.
[value] using specification for function f6
[value] Done for function f6
[value] computing for function f7 <- main.
        Called from tests/value/cast_fun.i:88.
[value] using specification for function f7
[value] Done for function f7
tests/value/cast_fun.i:93:[value] warning: pointer to function with incompatible type. assert \valid_function(p2);
[value] computing for function f9 <- main.
        Called from tests/value/cast_fun.i:98.
[value] using specification for function f9
[value] Done for function f9
tests/value/cast_fun.i:103:[value] warning: pointer to function with incompatible type. assert \valid_function(p3);
tests/value/cast_fun.i:108:[value] warning: pointer to function with incompatible type. assert \valid_function(p4);
[value] computing for function f10 <- main.
        Called from tests/value/cast_fun.i:113.
[value] using specification for function f10
[value] Done for function f10
tests/value/cast_fun.i:118:[value] warning: pointer to function with incompatible type. assert \valid_function(p1);
tests/value/cast_fun.i:123:[value] warning: pointer to function with incompatible type. assert \valid_function(p1);
tests/value/cast_fun.i:128:[value] warning: pointer to function with incompatible type. assert \valid_function(p4);
[value] Recording results for main
[from] Computing for function main
tests/value/cast_fun.i:58:[from] warning: variadic call detected. Using only 0 argument(s).
tests/value/cast_fun.i:63:[from] warning: variadic call detected. Using only 0 argument(s).
tests/value/cast_fun.i:98:[from] warning: variadic call detected. Using only 1 argument(s).
tests/value/cast_fun.i:113:[from] warning: variadic call detected. Using only 0 argument(s).
[from] Done for function main
[value] done for function main
tests/value/cast_fun.i:73:[value] assertion 'Value,function_pointer' got final status invalid.
tests/value/cast_fun.i:78:[value] assertion 'Value,function_pointer' got final status invalid.
tests/value/cast_fun.i:93:[value] assertion 'Value,function_pointer' got final status invalid.
tests/value/cast_fun.i:103:[value] assertion 'Value,function_pointer' got final status invalid.
tests/value/cast_fun.i:108:[value] assertion 'Value,function_pointer' got final status invalid.
tests/value/cast_fun.i:118:[value] assertion 'Value,function_pointer' got final status invalid.
tests/value/cast_fun.i:123:[value] assertion 'Value,function_pointer' got final status invalid.
tests/value/cast_fun.i:128:[value] assertion 'Value,function_pointer' got final status invalid.
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main:
  p1 ∈ {{ &f1 ; (int (*)(int ))&f2 ; &f3 }} or UNINITIALIZED
  p2 ∈ {{ &f6 ; (void (*)(struct s1 ))&f7 }} or UNINITIALIZED
  p3 ∈ {{ &f9 }} or UNINITIALIZED
  p4 ∈ {{ &f10 }} or UNINITIALIZED
  x ∈ [--..--] or UNINITIALIZED
  s ∈ {0}
[from] Computing for function main
[from] Computing for function f1 <-main
[from] Done for function f1
[from] Computing for function f2 <-main
[from] Done for function f2
[from] Computing for function f3 <-main
[from] Done for function f3
[from] Computing for function f6 <-main
[from] Done for function f6
[from] Computing for function f7 <-main
[from] Done for function f7
[from] Computing for function f9 <-main
[from] Done for function f9
[from] Computing for function f10 <-main
[from] Done for function f10
[from] Done for function main
[from] ====== DEPENDENCIES COMPUTED ======
       These dependencies hold at termination for the executions that terminate:
[from] Function f1:
  \result FROM ANYTHING(origin:Unknown)
[from] Function f10:
  NO EFFECTS
[from] Function f2:
  \result FROM ANYTHING(origin:Unknown)
[from] Function f3:
  \result FROM ANYTHING(origin:Unknown)
[from] Function f6:
  NO EFFECTS
[from] Function f7:
  NO EFFECTS
[from] Function f9:
  NO EFFECTS
[from] Function main:
  NO EFFECTS
[from] ====== END OF DEPENDENCIES ======
[from] ====== DISPLAYING CALLWISE DEPENDENCIES ======
[from] call to f1 at tests/value/cast_fun.i:58 (by main):
  \result FROM ANYTHING(origin:Unknown)
[from] call to f2 at tests/value/cast_fun.i:63 (by main):
  \result FROM ANYTHING(origin:Unknown)
[from] call to f3 at tests/value/cast_fun.i:68 (by main):
  \result FROM ANYTHING(origin:Unknown)
[from] call to f6 at tests/value/cast_fun.i:83 (by main):
  NO EFFECTS
[from] call to f7 at tests/value/cast_fun.i:88 (by main):
  NO EFFECTS
[from] call to f9 at tests/value/cast_fun.i:98 (by main):
  NO EFFECTS
[from] call to f10 at tests/value/cast_fun.i:113 (by main):
  NO EFFECTS
[from] entry point:
  NO EFFECTS
[from] ====== END OF CALLWISE DEPENDENCIES ======
[inout] Out (internal) for function main:
          p1; p2; p3; p4; x; s
[inout] Inputs for function main:
          \nothing