mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
group unsupported warnings
This commit is contained in:
@@ -499,6 +499,23 @@ how many unproved targets there are. If the user wishes to see all the specific
|
||||
unproved targets, the CLI option ``--model-checker-show-unproved`` and
|
||||
the JSON option ``settings.modelChecker.showUnproved = true`` can be used.
|
||||
|
||||
Unsupported Language Features
|
||||
=============================
|
||||
|
||||
Certain Solidity language features are not completely supported by the SMT
|
||||
encoding that the SMTChecker applies, for example assembly blocks.
|
||||
The unsupported construct is abstracted via overapproximation to preserve
|
||||
soundness, meaning any properties reported safe are safe even though this
|
||||
feature is unsupported.
|
||||
However such abstraction may cause false positives when the target properties
|
||||
depend on the precise behavior of the unsupported feature.
|
||||
If the encoder encounters such cases it will by default report a generic warning
|
||||
stating how many unsupported features it has seen.
|
||||
If the user wishes to see all the specific unsupported features, the CLI option
|
||||
``--model-checker-show-unsupported`` and the JSON option
|
||||
``settings.modelChecker.showUnsupported = true`` can be used, where their default
|
||||
value is ``false``.
|
||||
|
||||
Verified Contracts
|
||||
==================
|
||||
|
||||
|
||||
@@ -443,6 +443,8 @@ Input Description
|
||||
"showProved": true,
|
||||
// Choose whether to output all unproved targets. The default is `false`.
|
||||
"showUnproved": true,
|
||||
// Choose whether to output all unsupported language features. The default is `false`.
|
||||
"showUnsupported": true,
|
||||
// Choose which solvers should be used, if available.
|
||||
// See the Formal Verification section for the solvers description.
|
||||
"solvers": ["cvc4", "smtlib2", "z3"],
|
||||
|
||||
Reference in New Issue
Block a user