Feature: SMTChecker support (a.k.a support all possible outputs) #979
Labels
C-forge
Command: forge
Cmd-forge-build
Command: forge build
P-normal
Priority: normal
T-feature
Type: feature
Component
Forge
Describe the feature you would like
As of 0.8.4, solidity is depreciating the experimental pragma for SMT Checker as it runs on all files if enabled
pragma experimental SMTChecker;
The new way to configure this is through the JSON config file
You have to define which engine it should run as well, see https://docs.soliditylang.org/en/v0.8.11/smtchecker.html#smtchecker-engines
And what targets to check
These options are not configurable currently for forge
Additional benefits would be when using the yul optimizer you would have access to the
ReasoningBasedSimplifier
Additional context
Additionally custom natspec parsing would help in tests
/// @custom:smtchecker
maybe can be expanded to slither other tools, etc
The text was updated successfully, but these errors were encountered: