mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
meson: Split --enable-sanitizers to --enable-{asan, ubsan}
We do not always want both address and undefined behavior sanitizers running at the same time. For the gitlab custom-runners, drop to only --enable-ubsan. These jobs are not run by default, but as will be obvious in the next patch, we don't run ASan on x86 either, and it seems wrong to hold aarch64 and s390x to a different standard. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-ID: <20240813095216.306555-2-richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
a66f28df65
commit
cb771ac1f5
8 changed files with 28 additions and 16 deletions
|
@ -24,8 +24,8 @@ Configure with (substitute the clang binaries with the version you installed).
|
|||
Here, enable-sanitizers, is optional but it allows us to reliably detect bugs
|
||||
such as out-of-bounds accesses, use-after-frees, double-frees etc.::
|
||||
|
||||
CC=clang-8 CXX=clang++-8 /path/to/configure --enable-fuzzing \
|
||||
--enable-sanitizers
|
||||
CC=clang-8 CXX=clang++-8 /path/to/configure \
|
||||
--enable-fuzzing --enable-asan --enable-ubsan
|
||||
|
||||
Fuzz targets are built similarly to system targets::
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue