qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v7 16/20] fuzz: add configure flag --enable-fuzzing


From: Alexander Bulekov
Subject: Re: [PATCH v7 16/20] fuzz: add configure flag --enable-fuzzing
Date: Mon, 20 Jan 2020 12:22:58 -0500
User-agent: NeoMutt/20180716

On 200120 0055, Bulekov, Alexander wrote:
> +if test "$fuzzing" = "yes" ; then
> +  if test "$have_fuzzer" = "yes"; then
> +    FUZZ_LDFLAGS=" -fsanitize=address,fuzzer"
> +    FUZZ_CFLAGS=" -fsanitize=address,fuzzer"
> +    CFLAGS=" -fsanitize=address,fuzzer"

This will fail when build standard qemu-system targets with ./configure
--enable-fuzzing
Instead it should be:
CFLAGS=" -fsanitize=address,fuzzer-no-link"
-Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]