On Fri, 4 Oct 2024 16:57:16 +0200 David Marchand <david.march...@redhat.com> wrote:
> > > > It seems v7 lost the last patch that was introducing and using the > > annotations in rte_malloc. > > Was there an issue with this patch, or is it just a series submission > > issue? > > Btw, reading gcc documentation, it seems the check is only enabled > with -fanalyzer. > Can we add this in the CI? > > If we can't enable all of -fanalyzer checks, maybe go with a subset of > it, like -Wanalyzer-allocation-size > -Wanalyzer-mismatching-deallocation ? I didn't enable -fanalyzer in my build, and all these bugs showed up. Turning on full analyzer does give better and more through checking though.