[PATCH] Add attributes to malloc-like functions

Sebastian Huber sebastian.huber@embedded-brains.de
Mon Oct 8 08:26:00 GMT 2018


Ping.

On 28/09/2018 11:32, Sebastian Huber wrote:
> These attributes help static analysis tools to produce less false
> positives, e.g. double free warnings.
>
> Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
> ---
>   newlib/libc/include/stdio.h  | 2 +-
>   newlib/libc/include/stdlib.h | 5 +++--
>   newlib/libc/include/string.h | 4 ++--
>   newlib/libc/include/wchar.h  | 2 +-
>   4 files changed, 7 insertions(+), 6 deletions(-)

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the Newlib mailing list