Stacked Borrows retags should also be accesses for the data race model #2648
Labels
A-aliasing
Area: This affects the aliasing model (Stacked/Tree Borrows)
A-data-race
Area: data race detector
C-bug
Category: This is a bug.
I-misses-UB
Impact: makes Miri miss UB, i.e., a false negative (with default settings)
Currently, many Stacked Borrows retags are effectively read/write accesses for the aliasing model:
miri/src/stacked_borrows/mod.rs
Lines 508 to 511 in 9568d7e
However, the data race model never hears about them, which as @JakobDegen points out leads us to accept some code that we probably should not accept.
The text was updated successfully, but these errors were encountered: