extern void __VERIFIER_error() __attribute__ ((__noreturn__)); extern void __VERIFIER_assume(int); void __VERIFIER_assert(int cond) { if (!(cond)) { ERROR: __VERIFIER_error(); } return; } unsigned int __VERIFIER_nondet_uint(); int main() { unsigned int array[10000]; unsigned int index = 0; unsigned int tmp = 0; while (1) { index = __VERIFIER_nondet_uint(); if (index >= 10000) { break; } array[index] = index; tmp = index; } __VERIFIER_assert(tmp < 10000 && array[tmp] == tmp); }