Showing error 1508

User: Jiri Slaby
Error type: Reachable Error Location
Error type description: A specified error location is reachable in some program path
File location: loops/sum_array_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


Source:

 1extern int __VERIFIER_nondet_int(void);
 2void __VERIFIER_assert(int cond) {
 3  if (!(cond)) {
 4    ERROR: goto ERROR;
 5  }
 6  return;
 7}
 8extern unsigned int __VERIFIER_nondet_uint();
 9
10int main()
11{
12  unsigned int M = __VERIFIER_nondet_uint();
13  int A[M], B[M], C[M];
14  unsigned int i;
Show full sources