Glibc
lastmod 2021-11-19created 2015-01-304 edits
The GNU C Library, commonly known as glibc, is the GNU Project's implementation of the C standard library. Despite its name, it now also supports C++. It was started in the early 1990s by the Free Software Foundation (FSF) for its GNU operating system.
Distributed under the GNU Lesser General Public License, glibc is free software.
Categories
- glibc:Functions - List of GNU C functions.
Debugging
- KLDP wiki - Shared libraries
- The LD_DEBUG environment variable | B. Nikolic Software and Computing Blog
Use the LD_DEBUG environment variable. The HELP message is as follows:
$ LD_DEBUG=help cat
Valid options for the LD_DEBUG environment variable are:
libs display library search paths
reloc display relocation processing
files display progress for input file
symbols display symbol table processing
bindings display information about symbol binding
versions display version dependencies
scopes display scope information
all all previous options combined
statistics display relocation statistics
unused determined unused DSOs
help display this help message and exit
To direct the debugging output into a file instead of standard output
a filename can be specified using the LD_DEBUG_OUTPUT environment variable.
Security
Allocation Debugging
- 3.2.4 Allocation Debugging
- See also: mtrace
Documentation
- The GNU C Library Reference Manual
-
Database.sarang.net.7z