| 1 |
# frama-c -wp [...] |
| 2 |
[kernel] Parsing clusters.i (no preprocessing) |
| 3 |
[wp] Running WP plugin... |
| 4 |
[wp] clusters.i:40: Warning: |
| 5 |
Missing terminates clause for callee_no_r, populates 'terminates \true' |
| 6 |
[wp] [CFG] Goal callee_no_r_terminates : Valid (Trivial) |
| 7 |
[wp] Warning: Missing RTE guards |
| 8 |
[wp] clusters.i:45: Warning: |
| 9 |
Missing terminates clause for caller_no_cluster, populates 'terminates \true' |
| 10 |
[wp] clusters.i:60: Warning: |
| 11 |
Missing terminates clause for fp, populates 'terminates \true' |
| 12 |
[wp] clusters.i:54: Warning: |
| 13 |
Missing terminates clause for function, populates 'terminates \true' |
| 14 |
[wp] clusters.i:28: Warning: |
| 15 |
Missing terminates clause for mutual_1, populates 'terminates \true' |
| 16 |
[wp] clusters.i:35: Warning: |
| 17 |
Missing terminates clause for mutual_2, populates 'terminates \true' |
| 18 |
[wp] clusters.i:11: Warning: |
| 19 |
Missing terminates clause for simpl_r, populates 'terminates \true' |
| 20 |
[wp] clusters.i:15: Warning: |
| 21 |
Missing terminates clause for simpl_rf, populates 'terminates \true' |
| 22 |
[wp] clusters.i:60: Warning: |
| 23 |
No 'decreases' clause on recursive function 'simpl_rf', cannot prove termination |
| 24 |
[wp] clusters.i:60: Warning: |
| 25 |
No 'decreases' clause on recursive function 'mutual_1', cannot prove termination |
| 26 |
[wp] clusters.i:36: Warning: No decreases clause for mutual_1 |
| 27 |
[wp] clusters.i:60: Warning: |
| 28 |
No 'decreases' clause on recursive function 'fp', cannot prove termination |
| 29 |
[wp] clusters.i:55: Warning: No decreases clause for fp |
| 30 |
------------------------------------------------------------ |
| 31 |
Function caller_no_cluster |
| 32 |
------------------------------------------------------------ |
| 33 |
|
| 34 |
Goal Termination-condition (generated) in 'caller_no_cluster': |
| 35 |
Prove: true. |
| 36 |
|
| 37 |
------------------------------------------------------------ |
| 38 |
------------------------------------------------------------ |
| 39 |
Function fp |
| 40 |
------------------------------------------------------------ |
| 41 |
|
| 42 |
Goal Call point function in 'fp' at instruction (file clusters.i, line 63): |
| 43 |
Prove: true. |
| 44 |
|
| 45 |
------------------------------------------------------------ |
| 46 |
|
| 47 |
Goal Termination-condition (generated) in 'fp' (1/2): |
| 48 |
Prove: true. |
| 49 |
|
| 50 |
------------------------------------------------------------ |
| 51 |
|
| 52 |
Goal Termination-condition (generated) in 'fp' (2/2): |
| 53 |
Call Result at line 64 |
| 54 |
Prove: false. |
| 55 |
|
| 56 |
------------------------------------------------------------ |
| 57 |
------------------------------------------------------------ |
| 58 |
Function function |
| 59 |
------------------------------------------------------------ |
| 60 |
|
| 61 |
Goal Termination-condition (generated) in 'function': |
| 62 |
Prove: true. |
| 63 |
|
| 64 |
------------------------------------------------------------ |
| 65 |
|
| 66 |
Goal Recursion variant: |
| 67 |
Call Effect at line 55 |
| 68 |
clusters.i:55: warning from wp: |
| 69 |
- Warning: Considering non decreasing call, looking for context inconsistency |
| 70 |
Reason: No decreases clause for fp |
| 71 |
Assume { Type: is_uint32(n). (* Then *) Have: n != 0. } |
| 72 |
Prove: false. |
| 73 |
|
| 74 |
------------------------------------------------------------ |
| 75 |
|
| 76 |
Goal Instance of 'Pre-condition (file clusters.i, line 59) in 'fp'' in 'function' at call 'fp' (file clusters.i, line 55) |
| 77 |
: |
| 78 |
Prove: true. |
| 79 |
|
| 80 |
------------------------------------------------------------ |
| 81 |
------------------------------------------------------------ |
| 82 |
Function mutual_1 |
| 83 |
------------------------------------------------------------ |
| 84 |
|
| 85 |
Goal Termination-condition (generated) in 'mutual_1' (1/2): |
| 86 |
Prove: true. |
| 87 |
|
| 88 |
------------------------------------------------------------ |
| 89 |
|
| 90 |
Goal Termination-condition (generated) in 'mutual_1' (2/2): |
| 91 |
Call Result at line 31 |
| 92 |
Prove: false. |
| 93 |
|
| 94 |
------------------------------------------------------------ |
| 95 |
------------------------------------------------------------ |
| 96 |
Function mutual_2 |
| 97 |
------------------------------------------------------------ |
| 98 |
|
| 99 |
Goal Termination-condition (generated) in 'mutual_2': |
| 100 |
Prove: true. |
| 101 |
|
| 102 |
------------------------------------------------------------ |
| 103 |
|
| 104 |
Goal Recursion variant: |
| 105 |
Call Effect at line 36 |
| 106 |
clusters.i:36: warning from wp: |
| 107 |
- Warning: Considering non decreasing call, looking for context inconsistency |
| 108 |
Reason: No decreases clause for mutual_1 |
| 109 |
Assume { Type: is_uint32(n). (* Then *) Have: n != 0. } |
| 110 |
Prove: false. |
| 111 |
|
| 112 |
------------------------------------------------------------ |
| 113 |
------------------------------------------------------------ |
| 114 |
Function simpl_r |
| 115 |
------------------------------------------------------------ |
| 116 |
|
| 117 |
Goal Termination-condition (generated) in 'simpl_r': |
| 118 |
Prove: true. |
| 119 |
|
| 120 |
------------------------------------------------------------ |
| 121 |
|
| 122 |
Goal Recursion variant: |
| 123 |
Call Effect at line 12 |
| 124 |
Assume { Type: is_uint32(n). (* Then *) Have: n != 0. } |
| 125 |
Prove: (0 <= n) /\ (to_uint32(n - 1) < n). |
| 126 |
|
| 127 |
------------------------------------------------------------ |
| 128 |
------------------------------------------------------------ |
| 129 |
Function simpl_rf |
| 130 |
------------------------------------------------------------ |
| 131 |
|
| 132 |
Goal Termination-condition (generated) in 'simpl_rf' (1/2): |
| 133 |
Prove: true. |
| 134 |
|
| 135 |
------------------------------------------------------------ |
| 136 |
|
| 137 |
Goal Termination-condition (generated) in 'simpl_rf' (2/2): |
| 138 |
Call Result at line 17 |
| 139 |
Prove: false. |
| 140 |
|
| 141 |
------------------------------------------------------------ |