Skip to content

Commit 0ee1fbb

Browse files
authored
Merge pull request #5281 from amosr/patch-1
doc/properties: #pragma disable requires version >=5.12
2 parents 2a357f0 + bcb02cd commit 0ee1fbb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/cprover-manual/properties.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,10 @@ The goto-instrument program supports these checks:
132132
As all of these checks apply across the entire input program, we may wish to
133133
disable them for selected statements in the program. For example, unsigned
134134
overflows can be expected and acceptable in certain instructions even when
135-
elsewhere we do not expect them. To selectively disable automatically generated
136-
properties use `#pragma CPROVER check disable "<name_of_check>"`, which remains
137-
in effect until a `#pragma CPROVER check pop` (to re-enable all properties
135+
elsewhere we do not expect them. As of version 5.12, CBMC supports selectively
136+
disabling automatically generated properties. To disable property generation,
137+
use `#pragma CPROVER check disable "<name_of_check>"`, which remains in effect
138+
until a `#pragma CPROVER check pop` (to re-enable all properties
138139
disabled before or since the last `#pragma CPROVER check push`) is provided.
139140
For example, for unsigned overflow checks, use
140141
```

0 commit comments

Comments
 (0)