grep-devel
[Top][All Lists]
Advanced

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

Re: FYI: by default, elide analyzer-related warning options


From: Jeffrey Walton
Subject: Re: FYI: by default, elide analyzer-related warning options
Date: Sat, 1 Jan 2022 13:53:41 -0500

On Sat, Jan 1, 2022 at 1:33 PM Jim Meyering <jim@meyering.net> wrote:
>
> I've just pushed a patch that copies coreutils approach:
>
> +    [# -fanalyzer and related options slow GCC considerably.
> +     ew="$ew -fanalyzer -Wno-analyzer-double-free -Wno-analyzer-malloc-leak"
> +     ew="$ew -Wno-analyzer-null-dereference -Wno-analyzer-use-after-free"])
>
> I've also updated from latest gnulib and updated copyright notices.

I don't think these two are wise:

* -Wno-analyzer-double-free
* -Wno-analyzer-use-after-free

Lot's of CVE's issued because of double free and use after free...

Jeff



reply via email to

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