Skip to content

Commit f39a5c1

Browse files
authored
Merge pull request #7677 from zhassan-aws/doc-fixes
Minor doc fixes
2 parents 793801c + c110dec commit f39a5c1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/cprover-manual/memory-primitives.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pointers as having 64 bits. This can be changed by various options (see section
1616

1717
Memory is represented in CBMC as a set of objects. Each object represents a
1818
contiguous sequence of bytes and is identified via a numeric object ID. For
19-
example, assuming integers of width 4 and chars of with 1, a global integer
19+
example, assuming integers of width 4 and chars of width 1, a global integer
2020
variable would correspond to an object of size 4, and memory allocated via
2121
`malloc(10)` would correspond to an object of size 10.
2222

@@ -273,4 +273,3 @@ programs.
273273

274274
<sup>1</sup> Pointers with negative offsets never point to memory objects.
275275
Negative values are used internally to detect pointer underflows.
276-

src/goto-instrument/contracts/doc/user/contracts-quantifiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ While quantified expressions with arbitrary Boolean expressions are supported wi
1616
Concretely, with the SAT backend, the following syntax must be used for quantifiers:
1717
1818
```
19-
__CPROVER_forall { *id* *type*; *range* => *boolean expression* }
19+
__CPROVER_forall { *id* *type*; *range* ==> *boolean expression* }
2020
__CPROVER_exists { *id* *type*; *range* && *boolean expression* }
2121
```
2222

0 commit comments

Comments
 (0)