Thanks to visit codestin.com
Credit goes to github.com

Skip to content

crucible-mir: support (re)interpreting unions at multiple types #1548

@samcowger

Description

@samcowger

#1543 implemented a restricted form of Rust union support, in which a union can be interpreted only at the same type (i.e. Crucible representation) with which it was initialized. This is useful, but incomplete. To better mimic Rust, we'll need to support reinterpretation of union values at more types.

#1543 introduced a couple of xfail tests that involve union memory reinterpretation and that (I believe) represent well-defined Rust, so a solution to this issue ought to cause them to pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    MIRIssues relating to Rust/MIR supportcrucible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions