Open RalfJung opened 1 month ago
This code has UB that Miri does not detect. See https://github.com/rust-lang/rust/issues/46188 for context.
It seems quite hard to detect this though... we have to somehow check all declarations of all no_mangle functions that ever get called, or something like that.
Actually... probably this is a rustc bug, and the code shouldn't be UB in the first place.
This code has UB that Miri does not detect. See https://github.com/rust-lang/rust/issues/46188 for context.
It seems quite hard to detect this though... we have to somehow check all declarations of all no_mangle functions that ever get called, or something like that.