mirror of git://sourceware.org/git/glibc.git
__obstack_printf_chk): New prototypes. (__vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Likewise. Add libc_hidden_proto. * libio/obprintf.c (_IO_obstack_jumps): No longer static, add attribute_hidden. * libio/bits/stdio-ldbl.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Add __LDBL_REDIR_DECL. * libio/bits/stdio2.h (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): New prototypes. (asprintf, __asprintf, dprintf, obstack_printf, vasprintf, vdprintf, obstack_vprintf): New inlines. * debug/dprintf_chk.c: New file. * debug/vdprintf_chk.c: New file. * debug/asprintf_chk.c: New file. * debug/vasprintf_chk.c: New file. * debug/obprintf_chk.c: New file. * debug/tst-chk1.c (do_test): Add asprintf and obstack_printf tests. * debug/Versions (__asprintf_chk, __dprintf_chk, __obstack_printf_chk, __vasprintf_chk, __vdprintf_chk, __obstack_vprintf_chk): Export @@GLIBC_2.8. * debug/Makefile: Build asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk and obprintf_chk, set CFLAGS for them. * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): Add libc_hidden_proto. * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_vprintf_chk): New prototypes. * sysdeps/ieee754/ldbl-opt/Versions (__nldbl___asprintf_chk, __nldbl___vasprintf_chk, __nldbl___dprintf_chk, __nldbl___vdprintf_chk, __nldbl___obstack_printf_chk, __nldbl___obstack_vprintf_chk): Export @@GLIBC_2.8. * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add asprintf_chk, vasprintf_chk, dprintf_chk, vdprintf_chk, obstack_printf_chk and obstack_vprintf_chk. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_vprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-dprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-asprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vdprintf_chk.c: New file. * sysdeps/ieee754/ldbl-opt/nldbl-vasprintf_chk.c: New file. |
||
|---|---|---|
| .. | ||
| Depend | ||
| Makefile | ||
| Versions | ||
| asprintf_chk.c | ||
| backtrace-tst.c | ||
| backtrace.c | ||
| backtracesyms.c | ||
| backtracesymsfd.c | ||
| catchsegv.sh | ||
| chk_fail.c | ||
| confstr_chk.c | ||
| dprintf_chk.c | ||
| execinfo.h | ||
| fgets_chk.c | ||
| fgets_u_chk.c | ||
| fgetws_chk.c | ||
| fgetws_u_chk.c | ||
| fortify_fail.c | ||
| fprintf_chk.c | ||
| fread_chk.c | ||
| fread_u_chk.c | ||
| fwprintf_chk.c | ||
| getcwd_chk.c | ||
| getdomainname_chk.c | ||
| getgroups_chk.c | ||
| gethostname_chk.c | ||
| getlogin_r_chk.c | ||
| gets_chk.c | ||
| getwd_chk.c | ||
| mbsnrtowcs_chk.c | ||
| mbsrtowcs_chk.c | ||
| mbstowcs_chk.c | ||
| memcpy_chk.c | ||
| memmove_chk.c | ||
| mempcpy_chk.c | ||
| memset_chk.c | ||
| noophooks.c | ||
| obprintf_chk.c | ||
| pcprofile.c | ||
| pcprofiledump.c | ||
| pread64_chk.c | ||
| pread_chk.c | ||
| printf_chk.c | ||
| ptsname_r_chk.c | ||
| read_chk.c | ||
| readlink_chk.c | ||
| readlinkat_chk.c | ||
| readonly-area.c | ||
| realpath_chk.c | ||
| recv_chk.c | ||
| recvfrom_chk.c | ||
| segfault.c | ||
| snprintf_chk.c | ||
| sprintf_chk.c | ||
| stack_chk_fail.c | ||
| stack_chk_fail_local.c | ||
| stpcpy_chk.c | ||
| stpncpy_chk.c | ||
| strcat_chk.c | ||
| strcpy_chk.c | ||
| strncat_chk.c | ||
| strncpy_chk.c | ||
| swprintf_chk.c | ||
| test-stpcpy_chk.c | ||
| test-strcpy_chk.c | ||
| tst-chk1.c | ||
| tst-chk2.c | ||
| tst-chk3.c | ||
| tst-chk4.cc | ||
| tst-chk5.cc | ||
| tst-chk6.cc | ||
| tst-lfschk1.c | ||
| tst-lfschk2.c | ||
| tst-lfschk3.c | ||
| tst-lfschk4.cc | ||
| tst-lfschk5.cc | ||
| tst-lfschk6.cc | ||
| ttyname_r_chk.c | ||
| vasprintf_chk.c | ||
| vdprintf_chk.c | ||
| vfprintf_chk.c | ||
| vfwprintf_chk.c | ||
| vprintf_chk.c | ||
| vsnprintf_chk.c | ||
| vsprintf_chk.c | ||
| vswprintf_chk.c | ||
| vwprintf_chk.c | ||
| warning-nop.c | ||
| wcpcpy_chk.c | ||
| wcpncpy_chk.c | ||
| wcrtomb_chk.c | ||
| wcscat_chk.c | ||
| wcscpy_chk.c | ||
| wcsncat_chk.c | ||
| wcsncpy_chk.c | ||
| wcsnrtombs_chk.c | ||
| wcsrtombs_chk.c | ||
| wcstombs_chk.c | ||
| wctomb_chk.c | ||
| wmemcpy_chk.c | ||
| wmemmove_chk.c | ||
| wmempcpy_chk.c | ||
| wmemset_chk.c | ||
| wprintf_chk.c | ||
| xtrace.sh | ||