Add forge-symbolic-tests bug suite#1074
Merged
Merged
Conversation
f102c1a to
8212a38
Compare
blishko
reviewed
Jun 22, 2026
| - `symbolic-bug-suite/` — the vendored submodule (`src/NN_*.sol` reproducers and | ||
| `test/NN_*.t.sol` symbolic invariants). | ||
| - The Haskell runner lives at [`../test/SymbolicTestSuite.hs`](../test/SymbolicTestSuite.hs) | ||
| and is registered as the `symbolic-test` cabal test suite. |
Collaborator
There was a problem hiding this comment.
Should we maybe call it forge-symbolic-test?
Collaborator
Author
There was a problem hiding this comment.
Yes, good point. Fixed now. What do you think of it in general? I think it's kinda OK and not too noisy addition?
Vendor grandizzy/symbolic-bug-suite as a git submodule, add minimal hevm runner The new `symbolic-test` cabal suite to run them and check for FAIL + validation. Run it as as part of CI. Update Cleanup Cleanup
f43d1d3 to
e71f9b8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Forge now has a symbolic execution engine, and it is promoted as being able to find these bugs. hevm can find them, too, so let's vendor them in as a test suite.
Checklist