Skip to content

Commit 7d6dc91

Browse files
Petr BauchPetr Bauch
Petr Bauch
authored and
Petr Bauch
committed
Fix based on comments
Clarifications in the language of the manual entry.
1 parent 3208756 commit 7d6dc91

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/cprover-manual/goto-harness.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@ VERIFICATION SUCCESSFUL
314314
315315
### The memory snapshot harness
316316
317-
The `function-call` harness is used in situations when we want the analysed
317+
The `function-call` harness is used in situations in which we want the analysed
318318
function to work in arbitrary environment. If we want a more restricted
319-
environment or if we have the program in which our function will only be called,
320-
we call the `memory-snapshot` harness instead.
319+
environment or if we have the program in which our function will be called,
320+
we can call the `memory-snapshot` harness instead.
321321
322-
Furthermore, the program state of interest may be taken a particular location
322+
Furthermore, the program state of interest may be taken at a particular location
323323
within a function. In that case we do not want the harness to instrument the
324324
whole function but rather to allow starting the execution from a specific
325325
initial location (specified via `--initial-location func[:<n>]`).
@@ -374,8 +374,8 @@ int main() {
374374
}
375375
```
376376

377-
But are not particularly interested in the analysing the complex function, since
378-
we trust that its implementation is correct. Hence we run the above program
377+
But are not particularly interested in analysing the complex function, since we
378+
trust that its implementation is correct. Hence we run the above program
379379
stopping after the assignments to `x` and `x` and storing the program state,
380380
e.g. using the `memory-analyzer`, in a JSON file `snapshot.json`. Then run the
381381
harness and verify the assertion with:

0 commit comments

Comments
 (0)