mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 14:30:06 +00:00
dff3751503
__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.
53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
libc {
|
|
GLIBC_2.1 {
|
|
# functions used in other libraries
|
|
__backtrace; __backtrace_symbols; __backtrace_symbols_fd;
|
|
|
|
# b*
|
|
backtrace; backtrace_symbols; backtrace_symbols_fd;
|
|
}
|
|
GLIBC_2.2 {
|
|
# These are to support some gcc features.
|
|
__cyg_profile_func_enter; __cyg_profile_func_exit;
|
|
}
|
|
GLIBC_2.3.4 {
|
|
__chk_fail;
|
|
__memcpy_chk; __memmove_chk; __mempcpy_chk; __memset_chk; __stpcpy_chk;
|
|
__strcat_chk; __strcpy_chk; __strncat_chk; __strncpy_chk;
|
|
__sprintf_chk; __vsprintf_chk; __snprintf_chk; __vsnprintf_chk;
|
|
__printf_chk; __fprintf_chk; __vprintf_chk; __vfprintf_chk;
|
|
__gets_chk;
|
|
}
|
|
GLIBC_2.4 {
|
|
__fgets_chk; __fgets_unlocked_chk;
|
|
__read_chk; __pread_chk; __pread64_chk;
|
|
__readlink_chk; __getcwd_chk; __getwd_chk;
|
|
__recv_chk; __recvfrom_chk;
|
|
__realpath_chk; __ptsname_r_chk; __wctomb_chk;
|
|
__stpncpy_chk;
|
|
__wcscpy_chk; __wmemcpy_chk; __wmemmove_chk; __wmempcpy_chk; __wcpcpy_chk;
|
|
__wcsncpy_chk; __wcscat_chk; __wcsncat_chk; __wmemset_chk; __wcpncpy_chk;
|
|
__swprintf_chk; __vswprintf_chk; __wprintf_chk; __fwprintf_chk;
|
|
__vwprintf_chk; __vfwprintf_chk; __fgetws_chk; __fgetws_unlocked_chk;
|
|
__confstr_chk; __getgroups_chk; __ttyname_r_chk; __getlogin_r_chk;
|
|
__gethostname_chk; __getdomainname_chk; __wcrtomb_chk; __mbsnrtowcs_chk;
|
|
__wcsnrtombs_chk; __mbsrtowcs_chk; __wcsrtombs_chk; __mbstowcs_chk;
|
|
__wcstombs_chk;
|
|
|
|
__stack_chk_fail;
|
|
}
|
|
GLIBC_2.5 {
|
|
__readlinkat_chk;
|
|
}
|
|
GLIBC_2.7 {
|
|
__fread_chk; __fread_unlocked_chk;
|
|
}
|
|
GLIBC_2.8 {
|
|
__asprintf_chk; __vasprintf_chk; __dprintf_chk; __vdprintf_chk;
|
|
__obstack_printf_chk; __obstack_vprintf_chk;
|
|
}
|
|
GLIBC_PRIVATE {
|
|
__fortify_fail;
|
|
}
|
|
}
|