User: | Jiri Slaby |
Error type: | Reachable Error Location |
Error type description: | A specified error location is reachable in some program path |
File location: | ldv-regression/test_while_int.c_unsafe.i |
Line in file: | 9 |
Project: | SV-COMP 2013 |
Project version: | 2.6.28 |
Tools: |
Manual Work
|
Entered: | 2013-01-17 16:57:54 UTC |
1# 1 "files/test_while_int.c" 2# 1 "<built-in>" 3# 1 "<command-line>" 4# 1 "files/test_while_int.c" 5# 1 "./assert.h" 1 6 7void __blast_assert() 8{ 9 ERROR: goto ERROR; 10} 11# 2 "files/test_while_int.c" 2 12 13 14 15 16 17 18 19 20 21void check_error(int b) { 22 ((b) ? (0) : __blast_assert ()); 23} 24 25 26int main(void) { 27 int i=0; 28 while(i<5) { 29 i++; 30 31 32 33 check_error(i!=3); 34 35 } 36 return 0; 37}