Auto merge of #2940 - saethlin:use-after-free-spans, r=RalfJung

When reporting a heap use-after-free, say where the allocation was allocated and deallocated

This is a partial solution to: https://github.com/rust-lang/miri/issues/2917

Currently in the interpreter, we only have accurate information for where heap allocations are allocated and deallocated (see https://github.com/rust-lang/miri/pull/2940#discussion_r1243559711). So this just implements support for allocations where the information is already available, and the full support will require more interpreter tweaks.
This commit is contained in:
bors 2023-08-16 08:00:33 +00:00
commit 22b8734019

Diff content is not available