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

drop field of vtable cannot ever be null #405

Closed
oli-obk opened this issue Jul 15, 2018 · 5 comments
Closed

drop field of vtable cannot ever be null #405

oli-obk opened this issue Jul 15, 2018 · 5 comments

Comments

@oli-obk
Copy link
Contributor

oli-obk commented Jul 15, 2018

but miri thinks it can be. We should fix this to be in sync with rustc so that rustc can reuse our code

@RalfJung
Copy link
Member

Where does miri think that?

@oli-obk
Copy link
Contributor Author

oli-obk commented Jul 15, 2018

At least in https://github.com/rust-lang/rust/blob/master/src/librustc_mir/interpret/terminator/drop.rs#L60

not sure if there are other places (vtable creation looked fine !?)

@RalfJung
Copy link
Member

I am still not clear on what concretely you are proposing here.

@oli-obk
Copy link
Contributor Author

oli-obk commented Aug 16, 2018

Looks like miri does not think this anymore. Should have created a permalink XD

@oli-obk oli-obk closed this as completed Aug 16, 2018
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