typedef enum { false, true } bool; extern int __VERIFIER_nondet_int(void); int main() { int i; int up; i = __VERIFIER_nondet_int(); up = 0; while (i > 0) { if (i == 1) { up = 1; } if (i == 10) { up = 0; } if (up == 1) { i = i+1; } else { i = i-1; } } return 0; }