Skip to content

Commit

Permalink
Merge pull request #470 from RalfJung/memory-links
Browse files Browse the repository at this point in the history
fix more links
  • Loading branch information
RalfJung authored Oct 13, 2023
2 parents 06efa76 + 36c5936 commit 50f8ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reference/src/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ This range can be empty, but even empty allocations have a *base address* that t
The base address of an allocation is not necessarily unique; but if two distinct allocations have the same base address then at least one of them must be empty.

Pointer arithmetic is generally only possible within an allocation:
[provenance][pointer-provenance] ensures that each pointer "remembers" which allocation it points to,
[provenance][provenance] ensures that each pointer "remembers" which allocation it points to,
and accesses are only permitted if the address is in range of the allocation associated with the pointer.

Data inside an allocation is stored as [abstract bytes][abstract-byte];
Data inside an allocation is stored as [abstract bytes][abstract byte];
in particular, allocations do not track which type the data inside them has.

### Interior mutability
Expand Down

0 comments on commit 50f8ff4

Please sign in to comment.