generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 142
Improve performance and language support of memory initialization checks #3313
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
Merged
artemagvanian
merged 31 commits into
model-checking:main
from
artemagvanian:nondet-meminit
Jul 12, 2024
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
428165a
Implement memory initialization checks using demonic non-determinism.
artemagvanian 54d0493
Fix formatting
artemagvanian 8967662
Make memory initialization checks work better with atomics; add more …
artemagvanian c7f1d20
Enable `uninit-checks` in `std-checks`
artemagvanian 8af4c07
More tests for interaction between memory initialization and intrinsics
artemagvanian 068b9af
Fix issues with `std-checks`
artemagvanian 0723510
Fix formatting
artemagvanian 8e7eac1
Merge branch 'main' into nondet-meminit
artemagvanian a939e55
Only bless drop for Adt's
artemagvanian fb2aa14
Assert `is_initialized` in predicates
artemagvanian bb2a02b
Add more comments, remove unnecessary checks
artemagvanian ed11c8e
Fix assert order
artemagvanian cb93dcb
Make clippy happy
artemagvanian fcb99ad
Remove unnecessary clone
artemagvanian 3bf51f0
Wrap memory initialization set-up in a separate function
artemagvanian 898dd0b
Wrap `assert!(is_initialized(...))` into a separate function
artemagvanian b388458
`-Z uninit-checks` automatically enables shadow memory
artemagvanian 7abb003
Inject `UnsupportedCheck` when observing mutable pointer casts
artemagvanian 5a7a6b2
Revert "Inject `UnsupportedCheck` when observing mutable pointer casts"
artemagvanian 5f149bf
Separate calls to checking/setting memory initialization of slice chunks
artemagvanian 9bb6e0d
Merge branch 'main' into nondet-meminit
artemagvanian 38ecf46
Merge branch 'main' into nondet-meminit
artemagvanian c2d4d4f
Merge branch 'main' into nondet-meminit
artemagvanian fb07b8a
Remove unnecessary imports
artemagvanian 853ed24
Apply suggestions from code review
artemagvanian 351e592
Fix regressions
artemagvanian 5f2cc9a
Merge branch 'main' into nondet-meminit
artemagvanian d094aaf
Ensure that non-determinism is not used in assumption context
artemagvanian 630f6c3
Rollback changes in `std-checks`
artemagvanian 0b24435
Try substituting `$crate` with `super` to make `verify_std_cmd` pass …
artemagvanian 19cf091
Remove unnecessary temporary variable in `hooks.rs`
artemagvanian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.