GaloisInc / crucible

Crucible is a library for symbolic simulation of imperative programs
628 stars 42 forks source link

`crucible-mir`: Handle `repr(transparent)` enums appropriately #1141

Closed RyanGlScott closed 9 months ago

RyanGlScott commented 9 months ago

There were two places in the code where repr(transparent) enums ought to have been treated specially, but weren't:

I've now added the appropriate special-casing and added a conc_eval/enum/repr_transparent.rs test case in the crux-mir test suite to ensure that it works as expected.

Fixes #1140.