From: Paolo Bonzini <pbonzini@redhat.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>, qemu-devel@nongnu.org
Cc: famz@redhat.com, eblake@redhat.com
Subject: Re: [Qemu-devel] [PATCH v3 00/18] Various build-sys and sanitizer related fixes
Date: Fri, 5 Jan 2018 11:20:27 +0100 [thread overview]
Message-ID: <56c7640b-3db2-f242-c511-532556c2dfcb@redhat.com> (raw)
In-Reply-To: <20180104160523.22995-1-marcandre.lureau@redhat.com>
On 04/01/2018 17:05, Marc-André Lureau wrote:
> Hi,
>
> This is a series that improves a bit the build system, and introduces
> ASAN/UBSan by default when --enable-debug. Then it fixes a few leaks
> that occur during make check: common and x86_64 target tests are leak
> free after this series. The other targets will need some work to fix
> the leaks & warnings.
>
> v3:
> - add ubsan too with --enable-debug, since it is recommended and has
> low runtime cost
> - add a patch "compile with -Og or -O1 when --enable-debug", suggested
> by Paolo
> - add 2 new fixes to pass full make check with asan/ubsan
> - modify docker tests to run --enable-debug & asan with new test-debug
> - add some r-b/a-b tags
>
> v2:
> - simplify "build-sys: silence make by default or V=0": make it a
> oneliner MAKEFLAGS, use --quiet.
> - document print-VAR rule in docs/devel/build-system.txt
> - fix ASAN coroutine instrumentation failure
> - should fix builds on gcc 4.4.7 (centos 6)
> - new coroutine test leak fix
> - add some r-b tags
>
> Marc-André Lureau (18):
> build-sys: fix qemu-ga -pthread linking
> build-sys: silence make by default or V=0
> build-sys: add a rule to print a variable
> build-sys: compile with -Og or -O1 when --enable-debug
> tests/docker: add some sanitizers to fedora dockerfile
> tests/docker: add test-debug
> build-sys: add some sanitizers when --enable-debug if possible
> tests: fix check-qobject leak
> vl: fix direct firmware directories leak
> readline: add a free function
> tests: fix migration-test leak
> crypto: fix stack-buffer-overflow error
> qemu-config: fix leak in query-command-line-options
> tests: fix qmp-test leak
> ucontext: annotate coroutine stack for ASAN
> tests: fix coroutine leak in /basic/entered
> mips: fix potential fopen(NULL,...)
> disas/s390: fix global-buffer-overflow
>
> include/qemu/compiler.h | 4 +++
> include/qemu/readline.h | 1 +
> crypto/ivgen-essiv.c | 2 +-
> disas/s390.c | 16 +++++-------
> hw/nvram/ds1225y.c | 4 +--
> monitor.c | 2 +-
> tests/check-qobject.c | 2 ++
> tests/migration-test.c | 3 ++-
> tests/qmp-test.c | 3 ++-
> tests/test-coroutine.c | 1 -
> util/coroutine-ucontext.c | 46 ++++++++++++++++++++++++++++++++++
> util/qemu-config.c | 3 ++-
> util/readline.c | 18 ++++++++++++-
> vl.c | 9 ++++---
> Makefile | 7 ++++--
> configure | 23 +++++++++++++++--
> docs/devel/build-system.txt | 13 ++++++++++
> rules.mak | 2 ++
> tests/docker/dockerfiles/fedora.docker | 4 +--
> tests/docker/test-clang | 2 +-
> tests/docker/test-debug | 26 +++++++++++++++++++
> tests/docker/test-mingw | 2 --
> 22 files changed, 162 insertions(+), 31 deletions(-)
> create mode 100755 tests/docker/test-debug
>
Queued, thanks.
Paolo
prev parent reply other threads:[~2018-01-05 10:20 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 16:05 [Qemu-devel] [PATCH v3 00/18] Various build-sys and sanitizer related fixes Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 01/18] build-sys: fix qemu-ga -pthread linking Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 02/18] build-sys: silence make by default or V=0 Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 03/18] build-sys: add a rule to print a variable Marc-André Lureau
2018-01-04 16:15 ` Philippe Mathieu-Daudé
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 04/18] build-sys: compile with -Og or -O1 when --enable-debug Marc-André Lureau
2018-01-04 17:17 ` Philippe Mathieu-Daudé
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 05/18] tests/docker: add some sanitizers to fedora dockerfile Marc-André Lureau
2018-01-04 17:11 ` Philippe Mathieu-Daudé
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 06/18] tests/docker: add test-debug Marc-André Lureau
2018-01-04 17:16 ` Philippe Mathieu-Daudé
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 07/18] build-sys: add some sanitizers when --enable-debug if possible Marc-André Lureau
2018-01-04 17:07 ` Philippe Mathieu-Daudé
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 08/18] tests: fix check-qobject leak Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 09/18] vl: fix direct firmware directories leak Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 10/18] readline: add a free function Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 11/18] tests: fix migration-test leak Marc-André Lureau
2018-01-04 17:28 ` Juan Quintela
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 12/18] crypto: fix stack-buffer-overflow error Marc-André Lureau
2018-01-04 16:40 ` Thomas Huth
2018-01-04 17:10 ` Philippe Mathieu-Daudé
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 13/18] qemu-config: fix leak in query-command-line-options Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 14/18] tests: fix qmp-test leak Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 15/18] ucontext: annotate coroutine stack for ASAN Marc-André Lureau
2018-01-09 11:09 ` Philippe Mathieu-Daudé
2018-01-09 11:10 ` Philippe Mathieu-Daudé
2018-01-09 11:23 ` Marc-André Lureau
2018-01-12 11:15 ` Marc-André Lureau
2018-01-12 11:21 ` Paolo Bonzini
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 16/18] tests: fix coroutine leak in /basic/entered Marc-André Lureau
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 17/18] mips: fix potential fopen(NULL,...) Marc-André Lureau
2018-01-04 16:27 ` [Qemu-devel] [PATCH v3 17/18] mips: fix potential fopen(NULL, ...) Philippe Mathieu-Daudé
2018-01-04 16:05 ` [Qemu-devel] [PATCH v3 18/18] disas/s390: fix global-buffer-overflow Marc-André Lureau
2018-01-04 17:02 ` [Qemu-devel] [PATCH v3 00/18] Various build-sys and sanitizer related fixes no-reply
2018-01-05 10:20 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56c7640b-3db2-f242-c511-532556c2dfcb@redhat.com \
--to=pbonzini@redhat.com \
--cc=eblake@redhat.com \
--cc=famz@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).