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

Explicitly document and justify uintmax_t not being able to store uintptr_t #25

Open
brooksdavis opened this issue Jan 19, 2022 · 0 comments
Assignees

Comments

@brooksdavis
Copy link
Member

In CHERI C/C++ uintmax_t is generally a uint64_t and can not store a uintptr_t. This is surprising--even offensive--to some developers. This behavior is allowed by the C standard, but requires careful reading. We should explain our justifications.

@brooksdavis brooksdavis changed the title Explicitly document and justify uintmax_t not being able to stare uintptr_t Explicitly document and justify uintmax_t not being able to store uintptr_t Jan 19, 2022
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

No branches or pull requests

2 participants