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

Fix crashes with verification coverage + counterexamples #817

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

atomb
Copy link
Collaborator

@atomb atomb commented Nov 28, 2023

Previously, running Boogie with /trackVerificationCoverage and /enhancedErrorMessages:1 (or anything that leads to counterexample parsing) would lead to crashes when verification failed. This fixes that issue.

@@ -281,6 +281,9 @@ internal override void Run()
}
else
{
if (funName.StartsWith("aux$$")) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the name aux$$ occur anywhere else in the code? Can we use a string constant to refer to it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it occurs in a small number of other places. We probably should create a string constant for it. I'll do that in a future refactoring.

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) November 29, 2023 10:48
@keyboardDrummer keyboardDrummer merged commit 14194ca into boogie-org:master Nov 29, 2023
4 checks passed
@atomb atomb deleted the smt-response-parsing branch January 4, 2024 16:31
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

Successfully merging this pull request may close these issues.

3 participants