File: widen_non_constant.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 (144 lines) | stat: -rw-r--r-- 5,904 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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/widen_non_constant.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
  N ∈ {24}
  A[0..23] ∈ [--..--]
  B[0..25] ∈ [--..--]
  C[0..23] ∈ [--..--]
  t[0..19] ∈ {0}
  u[0..39] ∈ {0}
[value] computing for function main1 <- main.
        Called from tests/value/widen_non_constant.i:84.
tests/value/widen_non_constant.i:10:[value] entering loop for the first time
[value] Called Frama_C_show_each_out({0})
tests/value/widen_non_constant.i:12:[value] entering loop for the first time
[value] Called Frama_C_show_each_in({0}, {1})
[value] Called Frama_C_show_each_in({0}, {1; 2})
[value] Called Frama_C_show_each_in({0}, {1; 2; 3})
[value] Called Frama_C_show_each_in({0}, [1..23])
[value] Called Frama_C_show_each_out({0; 1})
[value] Called Frama_C_show_each_in({0; 1}, [1..23])
[value] Called Frama_C_show_each_out({0; 1; 2})
[value] Called Frama_C_show_each_in({0; 1; 2}, [1..23])
[value] Called Frama_C_show_each_out([0..22])
[value] Called Frama_C_show_each_in([0..23], [1..23])
[value] Recording results for main1
[value] Done for function main1
[value] computing for function main2 <- main.
        Called from tests/value/widen_non_constant.i:85.
tests/value/widen_non_constant.i:26:[value] entering loop for the first time
[value] Called Frama_C_show_each_out({0})
tests/value/widen_non_constant.i:28:[value] entering loop for the first time
[value] Called Frama_C_show_each_in({0}, {1})
[value] Called Frama_C_show_each_in({0}, {1; 2})
[value] Called Frama_C_show_each_in({0}, {1; 2; 3})
[value] Called Frama_C_show_each_in({0}, [1..23])
[value] Called Frama_C_show_each_out({0; 1})
[value] Called Frama_C_show_each_in({0; 1}, [1..23])
[value] Called Frama_C_show_each_out({0; 1; 2})
[value] Called Frama_C_show_each_in([0..25], [1..23])
[value] Called Frama_C_show_each_out([0..22])
[value] Recording results for main2
[value] Done for function main2
[value] computing for function main3 <- main.
        Called from tests/value/widen_non_constant.i:86.
tests/value/widen_non_constant.i:45:[value] entering loop for the first time
[value] Called Frama_C_show_each_out({0})
tests/value/widen_non_constant.i:47:[value] entering loop for the first time
[value] Called Frama_C_show_each_in({0}, {1})
[value] Called Frama_C_show_each_in({0}, {1; 2})
[value] Called Frama_C_show_each_in({0}, {1; 2; 3})
[value] Called Frama_C_show_each_in({0}, [1..23])
[value] Called Frama_C_show_each_out({0; 1})
[value] Called Frama_C_show_each_in({0; 1}, [1..23])
[value] Called Frama_C_show_each_out({0; 1; 2})
[value] Called Frama_C_show_each_in([0..2147483647], [1..23])
tests/value/widen_non_constant.i:49:[value] warning: out of bounds read. assert \valid_read(p + j);
tests/value/widen_non_constant.i:45:[value] warning: signed overflow. assert j + 1 ≤ 2147483647;
[value] Called Frama_C_show_each_out([0..22])
[value] Recording results for main3
[value] Done for function main3
[value] computing for function main4 <- main.
        Called from tests/value/widen_non_constant.i:87.
tests/value/widen_non_constant.i:63:[value] entering loop for the first time
tests/value/widen_non_constant.i:69:[value] entering loop for the first time
[value] Called Frama_C_show_each({43})
tests/value/widen_non_constant.i:75:[value] entering loop for the first time
[value] Called Frama_C_show_each({35; 36; 37; 38; 39; 40; 41; 42})
[value] Recording results for main4
[value] Done for function main4
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function main1:
  i ∈ {24} or UNINITIALIZED
  j ∈ {23; 24}
[value:final-states] Values at end of function main2:
  i ∈ {24; 25} or UNINITIALIZED
  j ∈ {23; 24; 25; 26}
[value:final-states] Values at end of function main3:
  i ∈ [24..2147483647] or UNINITIALIZED
  j ∈ [23..2147483647]
  p ∈ {{ &C[0] }}
[value:final-states] Values at end of function main4:
  t[0] ∈ {-1}
   [1..19] ∈ [0..18]
  u[0..39] ∈ [0..42]
  i ∈ {19}
  j ∈ {35; 36; 37; 38; 39; 40; 41; 42}
  maxi ∈ {19}
  maxj ∈ {35}
[value:final-states] Values at end of function main:
  t[0] ∈ {-1}
   [1..19] ∈ [0..18]
  u[0..39] ∈ [0..42]
[from] Computing for function main1
[from] Done for function main1
[from] Computing for function main2
[from] Done for function main2
[from] Computing for function main3
[from] Done for function main3
[from] Computing for function main4
[from] Done for function main4
[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 main1:
  NO EFFECTS
[from] Function main2:
  NO EFFECTS
[from] Function main3:
  NO EFFECTS
[from] Function main4:
  t[0] FROM \nothing
   [1..19] FROM \nothing (and SELF)
  u[0..39] FROM \nothing (and SELF)
[from] Function main:
  t[0] FROM \nothing
   [1..19] FROM \nothing (and SELF)
  u[0..39] FROM \nothing (and SELF)
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function main1:
          i; j
[inout] Inputs for function main1:
          N; A[0..23]
[inout] Out (internal) for function main2:
          i; j
[inout] Inputs for function main2:
          N; B[0..25]
[inout] Out (internal) for function main3:
          i; j; p
[inout] Inputs for function main3:
          N; C[0..23]
[inout] Out (internal) for function main4:
          t[0..19]; u[0..39]; i; j; maxi; maxj
[inout] Inputs for function main4:
          \nothing
[inout] Out (internal) for function main:
          t[0..19]; u[0..39]
[inout] Inputs for function main:
          N; A[0..23]; B[0..25]; C[0..23]