Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

False negative with k-Induction and incremental BMC #123

Open
lu-w opened this issue Aug 21, 2018 · 0 comments
Open

False negative with k-Induction and incremental BMC #123

lu-w opened this issue Aug 21, 2018 · 0 comments

Comments

@lu-w
Copy link

lu-w commented Aug 21, 2018

Hey all,

while working with 2LS I noticed a possible bug. It basically boils down to the following program being reported as safe:

extern void __VERIFIER_error();
int main() {
	for (int i = 0; i < 1; i++) {
		for (int j = 0; j < 2; j++) {}
		__VERIFIER_error();
	}
	return 0;
}

When using --k-induction or --incremental-bmc, 2LS claims

[main.assertion.1] : OK

** 0 of 1 unknown
** 0 of 1 failed
VERIFICATION SUCCESSFUL

In both cases, it reports to have generated a proof after 2 unwindings, although this program should be proven unsafe.

@lu-w lu-w changed the title False positives with k-Induction and incremental BMC False negative with k-Induction and incremental BMC Aug 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant