Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Field sensitivity: also rewrite byte extract to type casts
With model-checking/kani#2456 we see examples where a pointer of a different type is byte-extracted from a union. This is caused by Rust's niche placement. `get_subexpression_at_offset` already catered for that, but we didn't use it in field expansion.
- Loading branch information