Debian Codegraph @

src/plugins/wp/tests/wp_acsl/oracle/init_label.res.oracle

raw
1 # frama-c -wp [...]
2 [kernel] Parsing init_label.i (no preprocessing)
3 [wp] Running WP plugin...
4 [kernel] init_label.i:27: Warning:
5 No code nor implicit assigns clause for function main, generating default assigns from the prototype
6 [wp] Warning: Missing RTE guards
7 ------------------------------------------------------------
8 Function extra
9 ------------------------------------------------------------
10
11 Goal Post-condition 'KO' in 'extra':
12 Let x = A[2].
13 Assume { Type: is_sint32(x). (* Heap *) Type: IsArray_sint32(A). }
14 Prove: x = 12.
15
16 ------------------------------------------------------------
17 ------------------------------------------------------------
18 Function foreign
19 ------------------------------------------------------------
20
21 Goal Post-condition 'OK' in 'foreign':
22 Prove: true.
23
24 ------------------------------------------------------------
25 ------------------------------------------------------------
26 Function job
27 ------------------------------------------------------------
28
29 Goal Post-condition 'OK' in 'job':
30 Let x = A[2].
31 Assume {
32 Type: IsArray_sint32(A) /\ IsArray_sint32(A_1) /\ is_sint32(x).
33 (* Initializer *)
34 Init: A_1[0] = 10.
35 (* Initializer *)
36 Init: A_1[1] = 11.
37 (* Initializer *)
38 Init: A_1[2] = 12.
39 (* Initializer *)
40 Init: forall i : Z. ((3 <= i) -> ((i <= 19) -> (A_1[i] = 0))).
41 (* Pre-condition 'Init' *)
42 Have: EqArray_int(20, A, A_1).
43 }
44 Prove: x = 12.
45
46 ------------------------------------------------------------
47 ------------------------------------------------------------
48 Function main
49 ------------------------------------------------------------
50
51 Goal Pre-condition 'OK' in 'main':
52 Prove: true.
53
54 ------------------------------------------------------------