Closed chkl closed 6 years ago
minimal working example:
extern void __VERIFIER_error() __attribute__((__noreturn__));
extern int __VERIFIER_nondet_int(void);
void __VERIFIER_assert(int cond)
{
if (!cond)
{
ERROR:
__VERIFIER_error();
}
return;
}
int main()
{
int x;
x = 1;
while (1)
{
__VERIFIER_assert(x != 9);
x = x + 2 * __VERIFIER_nondet_int();
}
return 0;
}
This is probably due to the same "bug" as #98
7a9ab5cae91070e39be23efe64bf3acb093e7948
(./c/bitvector/jain_2_false-no-overflow.i
)