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

Large arrays cause false positives #135

Open
viktormalik opened this issue Nov 26, 2018 · 0 comments
Open

Large arrays cause false positives #135

viktormalik opened this issue Nov 26, 2018 · 0 comments

Comments

@viktormalik
Copy link
Collaborator

When the analysed program contains a static array of large size (approx. >80 000 elements), the analysis always ends with TRUE even though the program contains an error.
This occurs when check_properties is run on a program with loops before computing a program invariant (e.g. when --k-induction is used). The reason for this bug is that with such a large size array, the solver always evaluates the program SSA (without any additional invariant) as unsatisfiable. This causes the property checker to think that all loops have been unwound and that an assertion in a loop always holds (instead, it holds for the first iteration, but not for the following ones).
The bug can be reproduced on an SV-COMP example array-examples/standard_init1_false-unreach-call_ground.c using the --k-induction switch.

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