immunant / c2rust

Migrate C code to Rust
https://c2rust.com/
Other
3.91k stars 229 forks source link

analyze: extend Cell rewrite support to include CELL struct fields #924

Open spernsteiner opened 1 year ago

spernsteiner commented 1 year ago

The handling of FlagSet::CELL in rewrite::expr::mir_op currently works only for locals with the CELL flag, not for struct fields. See https://github.com/immunant/c2rust/pull/919#discussion_r1190164419 for some additional detail.