Skip to content

Commit a0cf92f

Browse files
Fix name of uncheckedOverflow built-in rule (#462)
1 parent b91c262 commit a0cf92f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/cvl/builtin.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ built_in_rule_name ::=
2727
| "deepSanity"
2828
| "viewReentrancy"
2929
| "safeCasting"
30-
| "uncheckedOverflow"
30+
| "uncheckedOverflows"
3131
```
3232

3333
(built-in-msg-value-in-loop)=
@@ -228,10 +228,10 @@ in a spec file. In addition, the line `"safe_casting_builtin" : true` must be ad
228228

229229

230230
(built-in-unchecked-overflow)=
231-
Unchecked Overflow — `uncheckedOverflow`
231+
Unchecked Overflow — `uncheckedOverflows`
232232
--------------------------------------------------
233233

234-
The `uncheckedOverflow` built-in looks for cases where any of the operations `+, -, *` appearing within an `unchecked` solidity block can actually overflow.
234+
The `uncheckedOverflows` built-in looks for cases where any of the operations `+, -, *` appearing within an `unchecked` solidity block can actually overflow.
235235

236236
For example:
237237
```
@@ -245,6 +245,6 @@ This will fail the builtin rule, because the multiplication is a `uint128` multi
245245

246246
This rule can be enabled by including
247247
```cvl
248-
use builtin rule uncheckedOverflow;
248+
use builtin rule uncheckedOverflows;
249249
```
250-
In addition, the line `"unchecked_overflow_builtin" : true` must be added to the conf file.
250+
In addition, the line `"unchecked_overflow_builtin" : true` must be added to the conf file.

0 commit comments

Comments
 (0)