-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TODO: - Tests - Do we need to think about `isize` overflow in order to prevent user code from being unsound (ie, generating invalid calls to `<*const _>::add`)? My current thinking is that we don't - it's already invalid to construct a memory region that overflows `isize`, and so it'd never be valid to call `validate_cast` in that case. Co-authored-by: Jack Wrenn <jswrenn@amazon.com>
- Loading branch information
Showing
2 changed files
with
339 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters