Skip to content

do not mix base address with size of a value - #723

Open
tshepang wants to merge 1 commit into
mainfrom
tshepang/remove-base
Open

do not mix base address with size of a value#723
tshepang wants to merge 1 commit into
mainfrom
tshepang/remove-base

Conversation

@tshepang

Copy link
Copy Markdown
Member

Reference does not make this guarantee

@kirtchev-adacore

Copy link
Copy Markdown
Contributor

Indeed, the Reference no longer has similar rules. The only closest things they have is alloc-limit, which Tshepang has included in the PR.

Note that it is also possible to delete :dp:fls_kaomYy0Ml4Nh since all uses of "base address" have now disappeared.

@tshepang

tshepang commented Sep 1, 2026

Copy link
Copy Markdown
Member Author

there is one user

It is undefined behavior to create an llocated object at base address null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants