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

Miri value validation: fix handling of uninit memory #74059

Merged
merged 4 commits into from
Jul 7, 2020

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Jul 5, 2020

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 5, 2020
@RalfJung
Copy link
Member Author

RalfJung commented Jul 5, 2020

The Miri side, including test cases, is at rust-lang/miri#1468.

@oli-obk
Copy link
Contributor

oli-obk commented Jul 5, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Jul 5, 2020

📌 Commit 751b594 has been approved by oli-obk

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 5, 2020
@RalfJung
Copy link
Member Author

RalfJung commented Jul 5, 2020

Fixed rustfmt.
@bors r=oli-obk

@bors
Copy link
Contributor

bors commented Jul 5, 2020

📌 Commit 319c7f7 has been approved by oli-obk

Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 6, 2020
…oli-obk

Miri value validation: fix handling of uninit memory

Fixes rust-lang/miri#1456
Fixes rust-lang/miri#1467

r? @oli-obk
@bors
Copy link
Contributor

bors commented Jul 7, 2020

⌛ Testing commit 319c7f7 with merge ee186cab341250cf90be51239688e89e4f419102...

@bors
Copy link
Contributor

bors commented Jul 7, 2020

💥 Test timed out

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 7, 2020
@RalfJung
Copy link
Member Author

RalfJung commented Jul 7, 2020

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 7, 2020
@bors
Copy link
Contributor

bors commented Jul 7, 2020

⌛ Testing commit 319c7f7 with merge 0772b2c5071f18f9e99bcd48744d4d4fdfeeafcb...

@bors
Copy link
Contributor

bors commented Jul 7, 2020

💔 Test failed - checks-azure

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 7, 2020
@RalfJung
Copy link
Member Author

RalfJung commented Jul 7, 2020

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/p/python-setuptools/python3-setuptools_20.7.0-1_all.deb  503  Service Unavailable

@bors retry

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jul 7, 2020
@bors
Copy link
Contributor

bors commented Jul 7, 2020

⌛ Testing commit 319c7f7 with merge e1beee4...

@bors
Copy link
Contributor

bors commented Jul 7, 2020

☀️ Test successful - checks-actions, checks-azure
Approved by: oli-obk
Pushing e1beee4 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jul 7, 2020
@bors bors merged commit e1beee4 into rust-lang:master Jul 7, 2020
@rust-highfive
Copy link
Collaborator

📣 Toolstate changed by #74059!

Tested on commit e1beee4.
Direct link to PR: #74059

💔 miri on windows: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).
💔 miri on linux: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Jul 7, 2020
Tested on commit rust-lang/rust@e1beee4.
Direct link to PR: <rust-lang/rust#74059>

💔 miri on windows: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).
💔 miri on linux: test-pass → test-fail (cc @oli-obk @eddyb @RalfJung).
bors added a commit to rust-lang/miri that referenced this pull request Jul 7, 2020
Test uninit memory validation

This adds the tests for rust-lang/rust#74059.
@RalfJung RalfJung deleted the miri-uninit-validation branch July 8, 2020 06:17
@cuviper cuviper added this to the 1.46 milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ICE around validation of bool and char ICE when calling mem::uninitialized for an enum with 256 variants.
5 participants