On Thu, 28 Aug 2025 15:17:47 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> Recent versions of GCC have a static code analyzer option (-fanalyzer) that 
> works quite well for C code (but it has still issues with C++).
> This can be used to identify e.g. some leaks like memory leaks, double close, 
> use of uninitialized data etc. .
> Some info about it :
> 
> https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.html
> https://developers.redhat.com/articles/2023/05/31/improvements-static-analysis-gcc-13-compiler

This pull request has now been integrated.

Changeset: ba90ccc6
Author:    Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/ba90ccc6a8ca7b0b728568ea614470c85a5f7f8a
Stats:     28 lines in 2 files changed: 28 ins; 0 del; 0 mod

8362516: Support of GCC static analyzer (-fanalyzer)

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/jdk/pull/26989

Reply via email to