Skip to content

Wide pointer metadata validity: check that the vtable is for the right trait #3497

Closed
rust-lang/rust
#124220
@RalfJung

Description

@RalfJung

With rust-lang/rust#123572, rustc started assuming for UB purposes that a vtable pointer points to a vtabe that's sufficiently big for the given trait. Miri currently isn't able to check that UB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-misses-UBImpact: makes Miri miss UB, i.e., a false negative (with default settings)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions