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
|
[kernel] Parsing ghost_local_capture.i (no preprocessing)
/* Generated by Frama-C */
void titi(void)
{
int c = 0;
{
L0: ;
/*@ ghost int c_0 = 1; */
L1: ;
c = 2;
/*@ assert c_0 ≡ 1; */ ;
/*@ assert \at(c,L0) ≡ 0; */ ;
/*@ assert \at(c_0,L1) ≡ 1; */ ;
}
/*@ assert c ≡ 2; */ ;
return;
}
void toto(void)
{
/*@ ghost int c_0 = 1; */
{
L0: ;
int c = 0;
L1: ;
c = 2;
/*@ assert c ≡ 2; */ ;
/*@ assert \at(c_0,L0) ≡ 1; */ ;
/*@ assert \at(c,L1) ≡ 0; */ ;
}
/*@ assert c_0 ≡ 1; */ ;
return;
}
/*@ ghost int x; */
/*@ ghost void f(void)
{
x ++;
return;
}
*/
|