Closed chkl closed 5 years ago
Boils down to
extern void __VERIFIER_error() __attribute__((__noreturn__));
void __VERIFIER_assert(int cond)
{
if (!cond)
{
ERROR:
__VERIFIER_error();
}
}
extern int __VERIFIER_nondet_int();
int main() {
int x = __VERIFIER_nondet_int();
__VERIFIER_assert((x == 1) != 99 && x == 1);
}
1af8323addcb24d3f8c92e755966f5524d378884
(c/systemc/toy_true-unreach-call_false-termination.cil.c
)(this is huge, I'm going to simplify this)