Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in cheri-tags #55

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/exercises/cheri-tags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ things!
What stands out?

5. Given that `q` and `r` appear to have identical byte representation in
memory, why does the CHERI version crash when dereferencing `q`?
memory, why does the CHERI version crash when dereferencing `r`?

## Source

Expand Down
2 changes: 1 addition & 1 deletion src/exercises/cheri-tags/answers.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
combination of the old capability (in `ca0`) and the new address (in `a1`)
remains *representable*.

5. While the in-memory, byte representation of `q` and `r` are identical, `q`
5. While the in-memory, byte representation of `q` and `r` are identical, `r`
has been manipulated as *bytes* rather than as a *capability* and so has had
its tag zeroed. (Specifically, the `csb zero, 32(csp)` instruction cleared
the tag associated with the 16-byte granule pointed to by `32(csp)`; the
Expand Down
Loading