This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
fyi: glibc-2.2.3 zero-initialized .data variables
- To: libc-alpha at sourceware dot cygnus dot com
- Subject: fyi: glibc-2.2.3 zero-initialized .data variables
- From: "Adam J. Richter" <adam at yggdrasil dot com>
- Date: Tue, 1 May 2001 03:49:22 -0700
In case anyone is interested, here is a list of zero-initialized
.data variables in glibc-2.2.3. There are only 1876 bytes, mostly due
to __ypdomainname in libnsl (1028 bytes) and three variables named
ext_end in libnss_compat (320 bytes). This output was generated from
a program that I am working on and expect to release under GPL in the
next few days. So, if there were any false positives or missed
positives, I would be happy to hear about it.
Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 104
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."
__libc_multiple_libcs 0xa8 (4 bytes)
environ 0xb0 (4 bytes)
__curbrk 0xb4 (4 bytes)
/lib/ld-2.2.3.so: 12 bytes of all zeroes.
completed.4 0x4 (4 bytes)
/lib/libBrokenLocale-2.2.3.so: 4 bytes of all zeroes.
completed.4 0x4 (4 bytes)
force_to_data 0x8 (24 bytes)
__gai_new_request_notification 0x58 (40 bytes)
/lib/libanl-2.2.3.so: 68 bytes of all zeroes.
plvar 0xd20 (20 bytes)
list_lock 0x2ae8 (24 bytes)
top_pad 0x2b04 (4 bytes)
__malloc_initialize_hook 0x2b1c (4 bytes)
__free_hook 0x2b20 (4 bytes)
__after_morecore_hook 0x2b30 (16 bytes)
daylight 0x2c08 (4 bytes)
__timezone 0x2c0c (4 bytes)
done.81 0x2c14 (4 bytes)
environ 0x2cc8 (4 bytes)
__curbrk 0x2ccc (4 bytes)
h_errno 0x2fe8 (4 bytes)
object_mutex 0x3264 (24 bytes)
/lib/libc-2.2.3.so: 120 bytes of all zeroes.
completed.4 0x4 (4 bytes)
small_tables_initialized.3 0x8 (4 bytes)
/lib/libcrypt-2.2.3.so: 8 bytes of all zeroes.
completed.4 0x4 (4 bytes)
/lib/libdl-2.2.3.so: 4 bytes of all zeroes.
completed.4 0x4 (4 bytes)
zero 0x8 (8 bytes)
/lib/libm-2.2.3.so: 12 bytes of all zeroes.
completed.4 0x4 (4 bytes)
force_to_data 0x8 (24 bytes)
__ypdomainname 0x40 (1028 bytes)
__ypbindlist 0x444 (28 bytes)
/lib/libnsl-2.2.3.so: 1084 bytes of all zeroes.
completed.4 0x4 (4 bytes)
force_to_data 0x8 (24 bytes)
ext_ent 0xe0 (64 bytes)
ext_ent 0x1e0 (128 bytes)
ext_ent 0x320 (128 bytes)
/lib/libnss_compat-2.2.3.so: 348 bytes of all zeroes.
completed.4 0x4 (4 bytes)
/lib/libnss_dns-2.2.3.so: 4 bytes of all zeroes.
completed.4 0x4 (4 bytes)
/lib/libnss_files-2.2.3.so: 4 bytes of all zeroes.
completed.4 0x4 (4 bytes)
/lib/libnss_hesiod-2.2.3.so: 4 bytes of all zeroes.
completed.4 0x4 (4 bytes)
intern 0x8 (8 bytes)
oldkey 0x14 (4 bytes)
oldkeylen 0x18 (4 bytes)
intern 0x28 (8 bytes)
/lib/libnss_nis-2.2.3.so: 28 bytes of all zeroes.
completed.4 0x4 (4 bytes)
data 0x788 (4 bytes)
data_size 0x78c (4 bytes)
position 0x790 (4 bytes)
/lib/libnss_nisplus-2.2.3.so: 16 bytes of all zeroes.
completed.4 0x4 (4 bytes)
hostf 0x8 (4 bytes)
stayopen 0xc (20 bytes)
socket_pf.126 0x4e0 (32 bytes)
/lib/libresolv-2.2.3.so: 60 bytes of all zeroes.
completed.4 0x4 (4 bytes)
force_to_data 0x8 (24 bytes)
__aio_new_request_notification 0x58 (40 bytes)
__timer_mutex 0x80 (24 bytes)
__timer_init_once_control 0x98 (4 bytes)
/lib/librt-2.2.3.so: 96 bytes of all zeroes.
completed.4 0x4 (4 bytes)
/lib/libutil-2.2.3.so: 4 bytes of all zeroes.