File: shift_big.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 (155 lines) | stat: -rw-r--r-- 5,548 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
[kernel] Parsing share/libc/__fc_builtin_for_normalization.i (no preprocessing)
[kernel] Parsing tests/value/shift_big.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
  nondet ∈ [--..--]
[value] computing for function t1 <- main.
        Called from tests/value/shift_big.i:63.
tests/value/shift_big.i:5:[value] warning: invalid RHS operand for shift. assert 0 ≤ j < 32;
tests/value/shift_big.i:5:[value] warning: signed overflow. assert 1 << j ≤ 2147483647;
[value] Recording results for t1
[value] Done for function t1
[value] computing for function t2 <- main.
        Called from tests/value/shift_big.i:64.
tests/value/shift_big.i:15:[value] warning: invalid RHS operand for shift. assert 0 ≤ j < 32;
tests/value/shift_big.i:15:[value] warning: signed overflow. assert 1 << j ≤ 2147483647;
[value] Recording results for t2
[value] Done for function t2
tests/value/shift_big.i:64:[value] warning: signed overflow. assert r + tmp_0 ≤ 2147483647;
                                  (tmp_0 from t2())
[value] computing for function t3 <- main.
        Called from tests/value/shift_big.i:65.
tests/value/shift_big.i:22:[value] entering loop for the first time
tests/value/shift_big.i:25:[value] assertion got status valid.
[value] Recording results for t3
[value] Done for function t3
[value] computing for function t4 <- main.
        Called from tests/value/shift_big.i:66.
tests/value/shift_big.i:31:[value] assertion got status valid.
[value] Recording results for t4
[value] Done for function t4
[value] computing for function t5 <- main.
        Called from tests/value/shift_big.i:67.
tests/value/shift_big.i:37:[value] entering loop for the first time
tests/value/shift_big.i:40:[value] assertion got status valid.
[value] Recording results for t5
[value] Done for function t5
[value] computing for function t6 <- main.
        Called from tests/value/shift_big.i:68.
tests/value/shift_big.i:46:[value] assertion got status valid.
[value] Recording results for t6
[value] Done for function t6
[value] computing for function t7 <- main.
        Called from tests/value/shift_big.i:69.
tests/value/shift_big.i:52:[value] warning: assertion got status unknown.
[value] Recording results for t7
[value] Done for function t7
[value] computing for function t8 <- main.
        Called from tests/value/shift_big.i:70.
tests/value/shift_big.i:58:[value] assertion got status valid.
[value] Recording results for t8
[value] Done for function t8
[value] Recording results for main
[value] done for function main
[value] ====== VALUES COMPUTED ======
[value:final-states] Values at end of function t1:
  j ∈ [0..31]
  i ∈ [1..2147483647]
  __retres ∈ [1..2147483647]
[value:final-states] Values at end of function t2:
  j ∈ {1; 10; 31}
  i ∈ {2; 1024}
  __retres ∈ {2; 1024}
[value:final-states] Values at end of function t3:
  x ∈ [1000000000..1999999999]
  i ∈ {2000000000}
[value:final-states] Values at end of function t4:
  x ∈ {1000000000; 1000000001}
[value:final-states] Values at end of function t5:
  x ∈ [1000000000..1999999999]
  i ∈ {2000000000}
[value:final-states] Values at end of function t6:
  x ∈ {1000000000; 1000000001}
[value:final-states] Values at end of function t7:
  x ∈ {1022; 1023}
[value:final-states] Values at end of function t8:
  x ∈ {1022; 1023}
[value:final-states] Values at end of function main:
  r ∈ [0..2147483647]
[from] Computing for function t1
[from] Done for function t1
[from] Computing for function t2
[from] Done for function t2
[from] Computing for function t3
[from] Done for function t3
[from] Computing for function t4
[from] Done for function t4
[from] Computing for function t5
[from] Done for function t5
[from] Computing for function t6
[from] Done for function t6
[from] Computing for function t7
[from] Done for function t7
[from] Computing for function t8
[from] Done for function t8
[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 t1:
  \result FROM nondet
[from] Function t2:
  \result FROM nondet
[from] Function t3:
  NO EFFECTS
[from] Function t4:
  NO EFFECTS
[from] Function t5:
  NO EFFECTS
[from] Function t6:
  NO EFFECTS
[from] Function t7:
  NO EFFECTS
[from] Function t8:
  NO EFFECTS
[from] Function main:
  \result FROM nondet
[from] ====== END OF DEPENDENCIES ======
[inout] Out (internal) for function t1:
          j; i; __retres
[inout] Inputs for function t1:
          nondet
[inout] Out (internal) for function t2:
          j; i; __retres
[inout] Inputs for function t2:
          nondet
[inout] Out (internal) for function t3:
          x; i
[inout] Inputs for function t3:
          nondet
[inout] Out (internal) for function t4:
          x
[inout] Inputs for function t4:
          nondet
[inout] Out (internal) for function t5:
          x; i
[inout] Inputs for function t5:
          nondet
[inout] Out (internal) for function t6:
          x
[inout] Inputs for function t6:
          nondet
[inout] Out (internal) for function t7:
          x
[inout] Inputs for function t7:
          nondet
[inout] Out (internal) for function t8:
          x
[inout] Inputs for function t8:
          nondet
[inout] Out (internal) for function main:
          r; tmp; tmp_0
[inout] Inputs for function main:
          nondet