Re: [PATCH] analyzer: use "malloc" attribute

2021-01-18 Thread David Malcolm via Gcc-patches
On Mon, 2021-01-18 at 14:26 +0100, Richard Biener wrote: > On Sun, 17 Jan 2021, David Malcolm wrote: > > > This is an updated version of this patch from October: > > > > 'RFC: add "deallocated_by" attribute for use by analyzer' > > > > https://gcc.gnu.org/pipermail/gcc-patches/2020-October

Re: [PATCH] analyzer: use "malloc" attribute

2021-01-18 Thread Richard Biener
On Sun, 17 Jan 2021, David Malcolm wrote: > This is an updated version of this patch from October: > > 'RFC: add "deallocated_by" attribute for use by analyzer' > https://gcc.gnu.org/pipermail/gcc-patches/2020-October/44.html > > reworking it to build on top of Martin's work as noted b

[PATCH] analyzer: use "malloc" attribute

2021-01-17 Thread David Malcolm via Gcc-patches
This is an updated version of this patch from October: 'RFC: add "deallocated_by" attribute for use by analyzer' https://gcc.gnu.org/pipermail/gcc-patches/2020-October/44.html reworking it to build on top of Martin's work as noted below, reusing the existing attribute rather than adding