[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4] ucontext: annotate coroutine stack for ASAN
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v4] ucontext: annotate coroutine stack for ASAN |
Date: |
Mon, 15 Jan 2018 13:41:09 +0000 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
On Fri, Jan 12, 2018 at 03:17:45PM +0100, Marc-André Lureau wrote:
> It helps ASAN to detect more leaks on coroutine stacks, as found in
> the following patch.
>
> A similar work would need to be done for sigaltstack & windows fibers
> to have similar coverage. Since ucontext is preferred, I didn't bother
> checking the other coroutine implementations for now.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> ---
> include/qemu/compiler.h | 4 ++++
> util/coroutine-ucontext.c | 48
> +++++++++++++++++++++++++++++++++++++++++++++++
> .travis.yml | 3 ++-
> configure | 41 ++++++++++++++++++++++++++++++++++++++--
> 4 files changed, 93 insertions(+), 3 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature