Skip to content

Commit f0b0755

Browse files
committed
rename the instances of smtchecker to solCMC across documentation
1 parent 8cf3305 commit f0b0755

7 files changed

+70
-70
lines changed

docs/050-breaking-changes.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ Command-line and JSON Interfaces
152152

153153
* The command-line option ``--formal`` (used to generate Why3 output for
154154
further formal verification) was deprecated and is now removed. A new
155-
formal verification module, the SMTChecker, is enabled via ``pragma
156-
experimental SMTChecker;``.
155+
formal verification module, the SolCMC, is enabled via ``pragma
156+
experimental SolCMC;``.
157157

158158
* The command-line option ``--julia`` was renamed to ``--yul`` due to the
159159
renaming of the intermediate language ``Julia`` to ``Yul``.

docs/contributing.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ However, if ``Eldarica`` is not found, these tests will be automatically skipped
140140
If ``z3`` is not present on your system, you should disable the
141141
SMT tests by exporting ``SMT_FLAGS=--no-smt`` before running ``./scripts/tests.sh`` or
142142
running ``./scripts/soltest.sh --no-smt``.
143-
These tests are ``libsolidity/smtCheckerTests``.
143+
These tests are ``libsolidity/solCMCTests``.
144144

145145
.. note::
146146

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Contents
169169
:caption: Additional Material
170170

171171
natspec-format.rst
172-
smtchecker.rst
172+
solcmc.rst
173173
yul.rst
174174
path-resolution.rst
175175

docs/layout-of-source-files.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,10 @@ Because the ABI coder v2 is not considered experimental anymore,
147147
it can be selected via ``pragma abicoder v2`` (please see above)
148148
since Solidity 0.7.4.
149149

150-
.. index:: ! pragma; SMTChecker
151-
.. _smt_checker:
150+
.. index:: ! pragma; SolCMC
151+
.. _solcmc_checker:
152152

153-
SMTChecker
153+
SolCMC
154154
~~~~~~~~~~
155155

156156
This component has to be enabled when the Solidity compiler is built
@@ -162,7 +162,7 @@ statically-built Linux binaries. It can be activated for solc-js via the
162162
`smtCallback <https://github.com/ethereum/solc-js#example-usage-with-smtsolver-callback>`_ if you have an SMT solver
163163
installed locally and run solc-js via node (not via the browser).
164164

165-
If you use ``pragma experimental SMTChecker;``, then you get additional
165+
If you use ``pragma experimental SolCMC;``, then you get additional
166166
:ref:`safety warnings<formal_verification>` which are obtained by querying an
167167
SMT solver.
168168
The component does not yet support all features of the Solidity language and

docs/security-considerations.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ In general, read about the limits of two's complement representation, which even
318318
more special edge cases for signed numbers.
319319

320320
Try to use ``require`` to limit the size of inputs to a reasonable range and use the
321-
:ref:`SMT checker<smt_checker>` to find potential overflows.
321+
:ref:`SolCMC<solcmc>` to find potential overflows.
322322

323323
.. _clearing-mappings:
324324

docs/smtchecker.rst renamed to docs/solcmc.rst

+59-59
Large diffs are not rendered by default.

docs/using-the-compiler.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ Input Description
490490
"engine": "chc",
491491
// Choose whether external calls should be considered trusted in case the
492492
// code of the called function is available at compile-time.
493-
// For details see the SMTChecker section.
493+
// For details see the SolCMC section.
494494
"extCalls": "trusted",
495495
// Choose which types of invariants should be reported to the user: contract, reentrancy.
496496
"invariants": ["contract", "reentrancy"],
@@ -510,7 +510,7 @@ Input Description
510510
// See the Formal Verification section for the targets description.
511511
"targets": ["underflow", "overflow", "assert"],
512512
// Timeout for each SMT query in milliseconds.
513-
// If this option is not given, the SMTChecker will use a deterministic
513+
// If this option is not given, the SolCMC will use a deterministic
514514
// resource limit by default.
515515
// A given timeout of 0 means no resource/time restrictions for any query.
516516
"timeout": 20000

0 commit comments

Comments
 (0)