glibc/libio/bits
Adhemerval Zanella 29951991f5 libio: Improve fortify with clang
It improve fortify checks for sprintf, vsprintf, vsnsprintf, fprintf,
dprintf, asprintf, __asprintf, obstack_printf, gets, fgets,
fgets_unlocked, fread, and fread_unlocked.  The runtime checks have
similar support coverage as with GCC.

For function with variadic argument (sprintf, snprintf, fprintf, printf,
dprintf, asprintf, __asprintf, obstack_printf) the fortify wrapper calls
the va_arg version since clang does not support __va_arg_pack.

Checked on aarch64, armhf, x86_64, and i686.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2024-02-27 10:52:58 -03:00
..
types Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
stdio2-decl.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
stdio2.h libio: Improve fortify with clang 2024-02-27 10:52:58 -03:00
stdio-ldbl.h Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
stdio.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00