-
Notifications
You must be signed in to change notification settings - Fork 392
Open
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterC-spec-questionCategory: it is unclear what the intended behavior of Miri for this case isCategory: it is unclear what the intended behavior of Miri for this case isI-misses-UBImpact: makes Miri miss UB, i.e., a false negative (with default settings)Impact: makes Miri miss UB, i.e., a false negative (with default settings)
Description
This code has UB that Miri does not detect. See rust-lang/rust#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.
Metadata
Metadata
Assignees
Labels
A-interpreterArea: affects the core interpreterArea: affects the core interpreterC-spec-questionCategory: it is unclear what the intended behavior of Miri for this case isCategory: it is unclear what the intended behavior of Miri for this case isI-misses-UBImpact: makes Miri miss UB, i.e., a false negative (with default settings)Impact: makes Miri miss UB, i.e., a false negative (with default settings)