Init commit

This commit is contained in:
Granahir2 2024-05-29 11:47:47 +02:00
parent 1d3fb5eb85
commit e6ecc3e9b0
60 changed files with 6656 additions and 0 deletions

View file

@ -0,0 +1,20 @@
/*
* Cours "Sémantique et Application à la Vérification de programmes"
*
* Josselin Giet 2021
* Ecole normale supérieure, Paris, France / CNRS / INRIA
*/
void main(){
int i = 0;
if(brand){ goto L1; }
L0: // performing a widening here loose all information
goto LF;
L1:
if(brand) { i += 1; } else { i -= 1; } // i in [-1; 1]
goto L0;
LF:
assert(i <= 1);
assert(i >= -1);
}