File: context_free.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 (166 lines) | stat: -rw-r--r-- 6,567 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
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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/context_free.i (no preprocessing)
[value] Analyzing an incomplete application starting at f
[value] Computing initial state
[value] Initial state computed
[value:initial-state] Values of globals at initialization
  a ∈ [--..--]
  b ∈ [--..--]
  c ∈ [--..--]
  vol ∈ [--..--]
  star_p ∈ [--..--]
  star_w___500 ∈ [--..--]
  s{.s1; .s2} ∈ [--..--]
   .sp ∈ {{ NULL ; &S_sp_s[0] }}
   .sg ∈ {0}
  t{.s1; .s2} ∈ [--..--]
   .sp ∈ {{ NULL ; &S_sp_t[0] }}
   .sg ∈ {0}
  tt.ss1{.s1; .s2} ∈ [--..--]
    .ss1.sp ∈ {{ NULL ; &S_sp_ss1_tt[0] }}
    .ss1.sg ∈ {0}
    .ss2 ∈ [--..--]
  u[0..11] ∈ [--..--]
  v[0..11][0..2] ∈ [--..--]
  w[0] ∈ {{ NULL ; &S_0_w[0] }}
   [1] ∈ {{ NULL ; &S_1_w[0] }}
   [2..11] ∈ {{ NULL ; &S_0_w[0] ; &S_1_w[0] }}
  ts[0]{.s1; .s2} ∈ [--..--]
    [0].sp ∈ {{ NULL ; &S_sp_0_ts[0] }}
    [0].sg ∈ {0}
    [1]{.s1; .s2} ∈ [--..--]
    [1].sp ∈ {{ NULL ; &S_sp_1_ts[0] }}
    [1].sg ∈ {0}
    [2]{.s1; .s2} ∈ [--..--]
    [2].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [2].sg ∈ {0}
    [3]{.s1; .s2} ∈ [--..--]
    [3].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [3].sg ∈ {0}
    [4]{.s1; .s2} ∈ [--..--]
    [4].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [4].sg ∈ {0}
    [5]{.s1; .s2} ∈ [--..--]
    [5].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [5].sg ∈ {0}
    [6]{.s1; .s2} ∈ [--..--]
    [6].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [6].sg ∈ {0}
    [7]{.s1; .s2} ∈ [--..--]
    [7].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [7].sg ∈ {0}
    [8]{.s1; .s2} ∈ [--..--]
    [8].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [8].sg ∈ {0}
    [9]{.s1; .s2} ∈ [--..--]
    [9].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [9].sg ∈ {0}
  uu ∈ {{ garbled mix of &{WELL_uu} (origin: Well) }}
  uuu ∈ [--..--]
  c_int ∈ [--..--]
  svoid.f1 ∈ [--..--]
       .p ∈ {{ garbled mix of &{S_p_svoid} (origin: Well) }}
  qvoid ∈ {{ garbled mix of &{S_qvoid} (origin: Well) }}
  S_sp_s[0..1] ∈ [--..--]
  S_sp_t[0..1] ∈ [--..--]
  S_sp_ss1_tt[0..1] ∈ [--..--]
  S_0_w[0..1] ∈ [--..--]
  S_1_w[0..1] ∈ [--..--]
  S_sp_0_ts[0..1] ∈ [--..--]
  S_sp_1_ts[0..1] ∈ [--..--]
  WELL_uu[bits 0 to ..] ∈ {{ garbled mix of &{WELL_uu} (origin: Well) }}
  S_p_svoid[bits 0 to ..] ∈
           {{ garbled mix of &{S_p_svoid} (origin: Well) }}
  S_qvoid[bits 0 to ..] ∈ {{ garbled mix of &{S_qvoid} (origin: Well) }}
tests/value/context_free.i:46:[value] warning: out of bounds write. assert \valid(p);
tests/value/context_free.i:51:[value] Assigning imprecise value to vv.
        The imprecision originates from Well
tests/value/context_free.i:52:[value] warning: out of bounds write. assert \valid(vvv);
tests/value/context_free.i:52:[value] Assigning imprecise value to *vvv (pointing to S_vvv with offsets {0}).
        The imprecision originates from Well
tests/value/context_free.i:54:[value] Assigning imprecise value to uu.u1.
        The imprecision originates from Well
tests/value/context_free.i:56:[value] warning: out of bounds write. assert \valid(ta + 1);
tests/value/context_free.i:58:[value] Assigning imprecise value to pvoid.
        The imprecision originates from Well
tests/value/context_free.i:59:[value] warning: out of bounds write. assert \valid(pvoid);
tests/value/context_free.i:60:[value] Assigning imprecise value to pvoid.
        The imprecision originates from Well
tests/value/context_free.i:61:[value] warning: out of bounds write. assert \valid(pvoid);
tests/value/context_free.i:61:[value] Assigning imprecise value to *pvoid
        (pointing to S_qvoid with offsets [0..34359738360],0%8).
        The imprecision originates from Arithmetic {tests/value/context_free.i:61}
tests/value/context_free.i:62:[value] warning: pointer to function with incompatible type. assert \valid_function(g);
[value] Recording results for f
[value] done for function f
tests/value/context_free.i:62:[value] assertion 'Value,function_pointer' got final status invalid.
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function f:
  a ∈ [--..--]
  b ∈ [--..--]
  t.s1 ∈ [--..--]
   .s2 ∈ {3}
   .sp ∈ {{ NULL ; &S_sp_t[0] }}
   .sg ∈ {0}
  tt.ss1{.s1; .s2} ∈ [--..--]
    .ss1.sp ∈ {{ NULL ; &S_sp_ss1_tt[0] }}
    .ss1.sg ∈ {0}
    .ss2 ∈ [--..--]
  u[0] ∈ [--..--]
   [1] ∈ {2}
   [2..11] ∈ [--..--]
  v[0][0] ∈ {5}
   {[0][1..2]; [1..11][0..2]} ∈ [--..--]
  w[0] ∈ {{ NULL ; &S_0_w[0] }}
   [1] ∈ {{ NULL ; &S_1_w[0] }}
   [2..3] ∈ {{ NULL ; &S_0_w[0] ; &S_1_w[0] }}
   [4] ∈ {{ &a }}
   [5..11] ∈ {{ NULL ; &S_0_w[0] ; &S_1_w[0] }}
  ts[0]{.s1; .s2} ∈ [--..--]
    [0].sp ∈ {{ NULL ; &S_sp_0_ts[0] }}
    [0].sg ∈ {0}
    [1]{.s1; .s2} ∈ [--..--]
    [1].sp ∈ {{ NULL ; &S_sp_1_ts[0] }}
    [1].sg ∈ {0}
    [2]{.s1; .s2} ∈ [--..--]
    [2].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [2].sg ∈ {0}
    [3]{.s1; .s2} ∈ [--..--]
    [3].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [3].sg ∈ {0}
    [4]{.s1; .s2} ∈ [--..--]
    [4].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [4].sg ∈ {0}
    [5]{.s1; .s2} ∈ [--..--]
    [5].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [5].sg ∈ {0}
    [6]{.s1; .s2} ∈ [--..--]
    [6].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [6].sg ∈ {0}
    [7]{.s1; .s2} ∈ [--..--]
    [7].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [7].sg ∈ {0}
    [8]{.s1; .s2} ∈ [--..--]
    [8].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [8].sg ∈ {0}
    [9]{.s1; .s2} ∈ [--..--]
    [9].sp ∈ {{ NULL ; &S_sp_0_ts[0] ; &S_sp_1_ts[0] }}
    [9].sg ∈ {0}
  uu ∈ {{ garbled mix of &{WELL_uu} (origin: Well) }}
  uuu ∈ [--..--]
  c_int ∈ [--..--]
  p ∈ {{ &S_p[0] }}
  vv ∈ {{ garbled mix of &{S_vv} (origin: Well) }}
  ta ∈ {{ &S_ta[0] }}
  pvoid ∈ {{ &S_qvoid + [0..4294967295] }}
  S_p_svoid[bits 0 to ..] ∈
           {{ garbled mix of &{S_p_svoid} (origin: Well) }}
  S_qvoid[bits 0 to ..] ∈
         {{ garbled mix of &{pvoid; S_qvoid} (origin: Well) }}
  S_ta[0] ∈ [--..--]
      [1] ∈ {3}
      [2..4] ∈ [--..--]
  S_vvv[0] ∈ {{ garbled mix of &{S_0_S_vvv} (origin: Well) }}
       [1] ∈ {{ garbled mix of &{S_1_S_vvv} (origin: Well) }}
  S_p[0] ∈ {{ NULL ; &S_0_S_p[0] }}
     [1] ∈ {{ NULL ; &S_1_S_p[0] }}