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

Low values of :rlimit have no effect #801

Open
robin-aws opened this issue Oct 18, 2023 · 0 comments
Open

Low values of :rlimit have no effect #801

robin-aws opened this issue Oct 18, 2023 · 0 comments
Assignees

Comments

@robin-aws
Copy link
Contributor

I ran into this when trying to verify my project setup was correct by setting an :rlimit of 1 (which before #796 was multiplied to 1000, but that was still far too low) to check that I got a build failure, but verification succeeded anyway.

From discussions with @atomb it seems likely that Z3 (in my case) can easily succeed before it does the first periodic check against such limits. If so, this also might be a concern for reproducible builds, if whether the solver checks the limit in time is non-deterministic.

I'd suggest that when an rlimit is set, Boogie does its own post-hoc check against the limit, for a consistent experience. Alternatively we could reject rlimit values that are too low to have any effect, but that would be solver-specific and may be hard to pin down reliably.

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

2 participants