Skip to content

Commit

Permalink
Addresses one more review comment from MT.
Browse files Browse the repository at this point in the history
Update harness example to use raw pointer actual parameters, not pointers to stack-allocated objects.

Signed-off-by: Rod Chapman <[email protected]>
  • Loading branch information
rod-chapman committed Nov 6, 2024
1 parent 4a6e4e1 commit 6638384
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cbmc/proofs/proof_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,11 @@ Note that `USE_FUNCTION_CONTRACTS` is left empty since `poly_tobytes()` is a lea

```
void harness(void) {
poly a;
uint8_t r[MLKEM_POLYBYTES];
poly *a;
uint8_t *r;
/* Contracts for this function are in poly.h */
poly_tobytes(r, &a);
poly_tobytes(r, a);
}
```

Expand Down

0 comments on commit 6638384

Please sign in to comment.