Stacktrace - Pragmatic Memory Leak Debugging
The stacktrace program and its companion memory allocation functions
provide a pragmatic and lean way to debug memory leaks.
The stacktrace tool is hosted at GitHub.
There are no source code packages or pre-compiled binaries available.
Please, fetch the sources from the repository and build your own copy.
The Boring Legal Stuff
The stacktrace comes in two parts using two different licenses:
- The stacktrace program links statically to the GNU Binary File
Descriptor (BFD) library. Since the GNU BFD library uses GPLv3,
most source files of the stacktrace program are also licensed under
GPLv3 (some source files use more liberal 3-clause BSD license).
The GPLv3 licensed source files have a standard GPL header and
pointer to the COPYING file that contains the GPLv3 license text.
- The memory allocation routines
are intended to provide a
production quality example how to include the debugging
functionality into your own programs. The idea is that you can copy
with pride (legally) from these source files; it is fine to include
them as-is into your project, or cut&paste the relevant parts,
or whatever works for you. For these reasons, these files are
licensed under the 3-clause BSD license. The 3-clause BSD licensed
source files have a file header stating that the LICENSE file gives
details about the licensing terms. The LICENSE file contains the
3-clause BSD license text.
Copyright © 2009-2011 Markku Rossi