Re: [PATCH] perf test: Avoid an msan warning in a copied stack.

From: Arnaldo Carvalho de Melo
Date: Mon Nov 16 2020 - 12:30:06 EST


Em Fri, Nov 13, 2020 at 10:20:53AM -0800, Ian Rogers escreveu:
> This fix is for a failure that occurred in the DWARF unwind perf test.
> Stack unwinders may probe memory when looking for frames. Memory
> sanitizer will poison and track uninitialized memory on the stack, and
> on the heap if the value is copied to the heap. This can lead to false
> memory sanitizer failures for the use of an uninitialized value. Avoid
> this problem by removing the poison on the copied stack.
>
> The full msan failure with track origins looks like:



Thanks, applied.

- Arnaldo