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

Either SMT so we can gracefully handle SMT generation issues such as CopySlice #591

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

msooseth
Copy link
Collaborator

@msooseth msooseth commented Oct 9, 2024

Description

This allows us to give results even for cases where some of the SMT cannot be generated due to symbolic copyslice. Then, we collect the errors and we continue running. This allows us to be more user-friendly and deal with more cases.

Please simply update (i.e. push into) this PR any changes you'd like to see about it!

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

@msooseth msooseth force-pushed the maybe-smt branch 3 times, most recently from cf16288 to 3d7c720 Compare October 9, 2024 14:42
@msooseth msooseth force-pushed the maybe-smt branch 2 times, most recently from ae10a03 to cc26d4d Compare October 10, 2024 09:09
@msooseth msooseth changed the title [DRAFT] Maybe SMT so we can gracefully handle SMT generation issues such as CopySlice [DRAFT] Either SMT so we can gracefully handle SMT generation issues such as CopySlice Oct 10, 2024
Instead, collect errors, and gracefully display a count
@msooseth msooseth changed the title [DRAFT] Either SMT so we can gracefully handle SMT generation issues such as CopySlice Either SMT so we can gracefully handle SMT generation issues such as CopySlice Oct 10, 2024
@msooseth msooseth requested review from d-xo and arcz October 10, 2024 15:57
Comment on lines +263 to +264
when (any isTimeout res || any isError res) $ do
putStrLn $ "But " <> (show $ length $ filter isTimeout res) <> " timeout(s) and/or " <> (show $ length $ filter isError res) <> " error(s)/incomplete execution(s) occurred"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Let me know if you have an idea how to categorize these. Note that we COULD try "grouping together" the types of results. They should group easily (I think) and then we could display: N number of timeouts, K number of copyslice, Z number of SMT solver deaths, etc.

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.

1 participant