3
OPT: -security-analysis -security-lattice strong -lib-entry -main h -journal-disable
6
/*@ requires security_status(s) == public; */
7
void send(const int s);
11
a = (int /*@ public */) 0;
12
if (a) b = 0; else b = 1;
13
send(a); // faille potentielle si dep. de ctrl. :
14
// d�duction d'info sur b
19
c = (int /*@ public */) 0;
20
send(c); // faille potentielle si dep. de ctrl.
21
// d�duction d'info sur d
22
if (c) d = 0; else d = 1;