On Tue, Oct 8, 2024 at 6:50 PM Stephen Hemminger
<step...@networkplumber.org> wrote:
>
> 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.

Ok, there was probably something wrong in my testing earlier.
I can see the errors fine now that applied the annotations first...

This is a nice tool, let me see if I can get this in for rc1.


-- 
David Marchand

Reply via email to