User: | Jiri Slaby |
Error type: | Reachable Error Location |
Error type description: | A specified error location is reachable in some program path |
File location: | bitvector/jain_4_safe.i |
Line in file: | 4 |
Project: | SV-COMP 2013 |
Project version: | 2.6.28 |
Tools: |
Manual Work
|
Entered: | 2013-01-17 16:57:54 UTC |
1extern int nondet_int(void); 2void __VERIFIER_assert(int cond) { 3 if (!(cond)) { 4 ERROR: goto ERROR; 5 } 6 return; 7} 8void main() 9{ 10 int x,y,z; 11 12 x=0; 13 y=0; 14 z=0; 15 16 while(1) 17 { 18 x = x +4*nondet_int(); 19 y = y +4*nondet_int(); 20 z = z +8*nondet_int(); 21 22 __VERIFIER_assert(x+y+z!=1); 23 } 24}