| 1 |
# frama-c -wp -wp-rte [...] |
| 2 |
[kernel] Parsing opaque_struct.i (no preprocessing) |
| 3 |
[wp] Running WP plugin... |
| 4 |
[rte:annot] annotating function assigned_via_pointer |
| 5 |
[rte:annot] annotating function assigns |
| 6 |
[rte:annot] annotating function assigns_effect |
| 7 |
[rte:annot] annotating function chunk_typing |
| 8 |
[rte:annot] annotating function initialized_assigns |
| 9 |
[rte:annot] annotating function uninitialized_assigns |
| 10 |
[kernel:annot:missing-spec] opaque_struct.i:79: Warning: |
| 11 |
Neither code nor specification for function use, generating default assigns from the prototype |
| 12 |
[wp] 15 goals scheduled |
| 13 |
[wp] [Alt-Ergo] Goal typed_check_lemma_fail : Unsuccess |
| 14 |
[wp] [Qed] Goal typed_check_lemma_succeed_L1 : Valid |
| 15 |
[wp] [Alt-Ergo] Goal typed_check_lemma_succeed_L2 : Valid |
| 16 |
[wp] [Alt-Ergo] Goal typed_assigns_check_fail : Unsuccess |
| 17 |
[wp] [Qed] Goal typed_assigns_check_succeed : Valid |
| 18 |
[wp] [Alt-Ergo] Goal typed_initialized_assigns_check_fails : Unsuccess |
| 19 |
[wp] [Alt-Ergo] Goal typed_initialized_assigns_check_succeed : Valid |
| 20 |
[wp] [Alt-Ergo] Goal typed_uninitialized_assigns_check_fail : Unsuccess |
| 21 |
[wp] [Alt-Ergo] Goal typed_uninitialized_assigns_check_fail_2 : Unsuccess |
| 22 |
[wp] [Alt-Ergo] Goal typed_assigned_via_pointer_check_fail : Unsuccess |
| 23 |
[wp] [Alt-Ergo] Goal typed_assigns_effect_check_fail : Unsuccess |
| 24 |
[wp] [Alt-Ergo] Goal typed_assigns_effect_check_fail_2 : Unsuccess |
| 25 |
[wp] [Alt-Ergo] Goal typed_assigns_effect_check_succeed : Valid |
| 26 |
[wp] [Qed] Goal typed_chunk_typing_assert_rte_mem_access : Valid |
| 27 |
[wp] [Qed] Goal typed_chunk_typing_assert_rte_mem_access_2 : Valid |
| 28 |
[wp] Proved goals: 7 / 15 |
| 29 |
Qed: 4 |
| 30 |
Alt-Ergo: 3 (unsuccess: 8) |
| 31 |
------------------------------------------------------------ |
| 32 |
Axiomatics WP Alt-Ergo Total Success |
| 33 |
Axiomatic test 1 1 3 66.7% |
| 34 |
------------------------------------------------------------ |
| 35 |
Functions WP Alt-Ergo Total Success |
| 36 |
assigns 1 - 2 50.0% |
| 37 |
initialized_assigns - 1 2 50.0% |
| 38 |
uninitialized_assigns - - 2 0.0% |
| 39 |
assigned_via_pointer - - 1 0.0% |
| 40 |
assigns_effect - 1 3 33.3% |
| 41 |
chunk_typing 2 - 2 100% |
| 42 |
------------------------------------------------------------ |
| 43 |
[wp] opaque_struct.i:31: Warning: |
| 44 |
Memory model hypotheses for function 'g': |
| 45 |
/*@ behavior wp_typed: |
| 46 |
requires \separated(p, &S1, &S2, &p); */ |
| 47 |
void g(void); |
| 48 |
[wp] opaque_struct.i:64: Warning: |
| 49 |
Memory model hypotheses for function 'assign': |
| 50 |
/*@ behavior wp_typed: |
| 51 |
requires \separated(a, &S1, &S2); */ |
| 52 |
void assign(struct S *a); |
| 53 |
[wp] opaque_struct.i:67: Warning: |
| 54 |
Memory model hypotheses for function 'assigns_effect': |
| 55 |
/*@ |
| 56 |
behavior wp_typed: |
| 57 |
requires \separated(a, &S1, &S2); |
| 58 |
requires \separated(c, &S1, &S2); |
| 59 |
requires \separated(p_0, &S1, &S2); |
| 60 |
requires \separated(q, &S1, &S2); |
| 61 |
*/ |
| 62 |
void assigns_effect(int *p_0, float *q, char *c, struct S *a); |
| 63 |
[wp] opaque_struct.i:76: Warning: |
| 64 |
Memory model hypotheses for function 'use': |
| 65 |
/*@ behavior wp_typed: |
| 66 |
requires \separated(s, &S1, &S2); */ |
| 67 |
void use(struct S *s); |
| 68 |
[wp] opaque_struct.i:79: Warning: |
| 69 |
Memory model hypotheses for function 'chunk_typing': |
| 70 |
/*@ |
| 71 |
behavior wp_typed: |
| 72 |
requires \separated(sc, &S1, &S2); |
| 73 |
requires \separated(uc, &S1, &S2); |
| 74 |
*/ |
| 75 |
void chunk_typing(unsigned char *uc, signed char *sc); |