summaryrefslogtreecommitdiff
path: root/Test/test15/Answer
blob: ae010dc901bf9d5b7bc017525583bb8448a9d161 (plain)
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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215

-------------------- NullInModel --------------------
*** MODEL
%lbl%@47 -> false
%lbl%+24 -> true
%lbl%+37 -> true
boolType -> T@T!val!1
intType -> T@T!val!0
null -> T@U!val!0
refType -> T@T!val!2
s -> T@U!val!0
tickleBool -> {
  true -> true
  false -> true
  else -> true
}
type -> {
  T@U!val!0 -> T@T!val!2
  else -> T@T!val!2
}
Ctor -> {
  T@T!val!0 -> 0
  T@T!val!1 -> 1
  T@T!val!2 -> 2
  else -> 0
}
*** END_MODEL
NullInModel.bpl(2,3): Error BP5001: This assertion might not hold.
Execution trace:
    NullInModel.bpl(2,3): anon0

Boogie program verifier finished with 0 verified, 1 error

-------------------- IntInModel --------------------
*** MODEL
%lbl%@39 -> false
%lbl%+23 -> true
%lbl%+29 -> true
boolType -> T@T!val!1
i -> 0
intType -> T@T!val!0
tickleBool -> {
  true -> true
  false -> true
  else -> true
}
Ctor -> {
  T@T!val!0 -> 0
  T@T!val!1 -> 1
  else -> 0
}
*** END_MODEL
IntInModel.bpl(2,3): Error BP5001: This assertion might not hold.
Execution trace:
    IntInModel.bpl(2,3): anon0

Boogie program verifier finished with 0 verified, 1 error

-------------------- ModelTest --------------------
*** MODEL
%lbl%@182 -> false
%lbl%+119 -> true
%lbl%+64 -> true
boolType -> T@T!val!1
i@0 -> 1
intType -> T@T!val!0
j@0 -> 2
j@1 -> 3
j@2 -> 4
r -> T@U!val!1
refType -> T@T!val!2
s -> T@U!val!0
tickleBool -> {
  true -> true
  false -> true
  else -> true
}
type -> {
  T@U!val!0 -> T@T!val!2
  T@U!val!1 -> T@T!val!2
  else -> T@T!val!2
}
Ctor -> {
  T@T!val!0 -> 0
  T@T!val!1 -> 1
  T@T!val!2 -> 2
  else -> 0
}
*** END_MODEL
ModelTest.bpl(7,3): Error BP5001: This assertion might not hold.
Execution trace:
    ModelTest.bpl(3,5): anon0

Boogie program verifier finished with 0 verified, 1 error

-------------------- InterpretedFunctionTests --------------------
InterpretedFunctionTests.bpl(4,3): Error BP5001: This assertion might not hold.
Execution trace:
    InterpretedFunctionTests.bpl(2,3): anon0
InterpretedFunctionTests.bpl(10,3): Error BP5001: This assertion might not hold.
Execution trace:
    InterpretedFunctionTests.bpl(8,3): anon0
InterpretedFunctionTests.bpl(16,3): Error BP5001: This assertion might not hold.
Execution trace:
    InterpretedFunctionTests.bpl(14,3): anon0

Boogie program verifier finished with 0 verified, 3 errors

-------------------- CaptureState --------------------
CaptureState.bpl(27,1): Error BP5003: A postcondition might not hold on this return path.
CaptureState.bpl(8,3): Related location: This is the postcondition that might not hold.
Execution trace:
    CaptureState.bpl(12,3): anon0
    CaptureState.bpl(16,5): anon4_Then
    CaptureState.bpl(24,5): anon3
*** MODEL
%lbl%@336 -> false
%lbl%+112 -> true
%lbl%+114 -> true
%lbl%+118 -> true
%lbl%+191 -> true
@MV_state_const -> 6
boolType -> T@T!val!1
F -> T@U!val!2
FieldNameType -> T@T!val!3
Heap -> T@U!val!0
intType -> T@T!val!0
m -> **m
m@0 -> -2
m@2 -> -1
m@3 -> -1
r -> **r
r@0 -> -2
RefType -> T@T!val!2
this -> T@U!val!1
x@@4 -> 797
y@@1 -> **y@@1
tickleBool -> {
  true -> true
  false -> true
  else -> true
}
type -> {
  T@U!val!0 -> T@T!val!4
  T@U!val!1 -> T@T!val!2
  T@U!val!2 -> T@T!val!3
  -2 -> T@T!val!0
  else -> T@T!val!4
}
Ctor -> {
  T@T!val!0 -> 0
  T@T!val!1 -> 1
  T@T!val!2 -> 3
  T@T!val!3 -> 4
  T@T!val!4 -> 2
  else -> 0
}
@MV_state -> {
  6 0 -> true
  6 3 -> true
  6 4 -> true
  6 5 -> true
  else -> true
}
[3] -> {
  T@U!val!0 T@U!val!1 T@U!val!2 -> -2
  else -> -2
}
U_2_int -> {
  -2 -> -2
  else -> -2
}
MapType0TypeInv1 -> {
  T@T!val!4 -> T@T!val!3
  else -> T@T!val!3
}
MapType0Type -> {
  T@T!val!2 T@T!val!3 T@T!val!0 -> T@T!val!4
  else -> T@T!val!4
}
MapType0TypeInv2 -> {
  T@T!val!4 -> T@T!val!0
  else -> T@T!val!0
}
MapType0TypeInv0 -> {
  T@T!val!4 -> T@T!val!2
  else -> T@T!val!2
}
int_2_U -> {
  -2 -> -2
  else -> -2
}
*** STATE <initial>
  Heap -> T@U!val!0
  this -> T@U!val!1
  x -> 797
  y -> **y@@1
  r -> **r
  m -> **m
*** END_STATE
*** STATE top
*** END_STATE
*** STATE then
  m -> -2
*** END_STATE
*** STATE postUpdate0
  m -> -1
*** END_STATE
*** STATE end
  r -> -2
  m -> 7
*** END_STATE
*** END_MODEL

Boogie program verifier finished with 0 verified, 1 error