Some memory tools and functions categorized by license.
- To: <sslug@sslug>
- Subject: Some memory tools and functions categorized by license.
- From: Peter Toft <sslug@sslug>
- Date: Mon, 6 Aug 2001 21:27:16 +0200 (CEST)
Kan vi ikke bruge dette til programmeringsbogen?
Det er en stor samling af vÃ¦rktÃ¸jer til at finde fejl i
1. OPEN-SOURCE MEMORY TOOLS
Ref. LINUX JOURNAL ISSUE 87 JULY 2001 page 84.
Libsafe: Protecting Critical Elements of Stacks
GNU Lesser General Public License.
GNU Library General Public License.
MCheck is a C/C++ memory usage and malloc checker for x86/linux.
GNU LIBRARY GENERAL PUBLIC LICENSE
1.2 Public domain
LeakTracer - trace and analyze memory leaks in C++ programs
LeakTracer is public domain (i.e. do with it whatever you feel
1.3 "AS IS"
Copyright (c) 1992 X Consortium
Permission is hereby granted, free of charge, to any person
obtaining a copy
of this software and associated documentation files (the
"Software"), to deal
in the Software without restriction, including without limitation
to use, copy, modify, merge, publish, distribute, sublicense, and/or
copies of the Software, and to permit persons to whom the Software
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
Except as contained in this notice, the name of the X Consortium
shall not be
used in advertising or otherwise to promote the sale, use or other
in this Software without prior written authorization from the X
Dmalloc - Debug Malloc Library:
1 Library Copying and Licensing Conditions
Copyright 1992 to 2001 by Gray Watson.
Permission to use, copy, modify, and distribute this software for
and without fee is hereby granted, provided that the above copyright
and this permission notice appear in all copies, and that the name
Watson not be used in advertising or publicity pertaining to
the document or software without specific, written prior permission.
Gray Watson makes no representations about the suitability of the
described herein for any purpose. It is provided "as is" without
LEAK - Quick and dirty code to find memory leaks
This software is provided ``as is'' without express or implied
mpr finds malloc/realloc memory leaks and memory allocation
using a simple, brute force strategy: log all malloc/free calls to a
and post-process this log file when the program terminates. mpr
of the entire call chain leading up to a malloc/free call. This is
to conventional methods that keep track of only the immediate caller
__FILE__ and __LINE__ pre-processor tricks.
1.4.2 Electric Fence
Copyright 1987-1999 Bruce Perens. All rights reserved.
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License, Version 2, as published by the Free Software
Foundation. A copy of this license is distributed with
this software in the file "COPYING".
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. Read the file "COPYING" for more details.
Checker is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
fda (Free Debug Allocator):
C malloc debug library
Copyright (C) 1998 Thomas Helvey <sslug@sslug>
FDA is free software under the GPL, so anyone can use it
anywhere. All I ask is that the original copyright notices not
be removed from the files. (Bragging rights :))
Distributed under GPL
MemProf - Profiling and leak detection
Memprof is Copyright Red Hat Inc, 1999-2000, and licensed
under the terms of the GNU General Public License.
YAMD is Yet Another Malloc Debugger.
Released under the GNU General Public License (see the file
1.5 MISC OR UNKNOWN
Memleak (Part of X11R6.4):
NJAMD (Not Just Another Malloc Debugger):
YaMa - Yet another Memory allocator
Libcwd is a full-featured debugging support library for C++
An Object Oriented C++ library for networking applications.
By Carlo Wood, Â©1999, 2000.
Copyright Â© 1999-2000 Ralf S. Engelschall, All Rights Reserved.
2. ALTERNATE MEMORY FUNCTIONS
Ref. LINUX JOURNAL ISSUE 87 JULY 2001 page 80.
2.1.1 GNU Malloc
GNU Library General Public License
2.2 "AS IS"
Ptmalloc (GNU C Library):
Copyright (c) 1999 Wolfram Gloger
Permission to use, copy, modify, distribute, and sell this software
and its documentation for any purpose is hereby granted without fee,
provided that (i) the above copyright notices and this permission
notice appear in all copies of the software and related
and (ii) the name of Wolfram Gloger may not be used in any
or publicity relating to the software.
THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
IN NO EVENT SHALL WOLFRAM GLOGER BE LIABLE FOR ANY SPECIAL,
INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY
OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
2.2.2 Boehm Garbage Collector
Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
Copyright (c) 1991-1996 by Xerox Corporation. All rights reserved.
Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
Copyright (c) 1999 by Hewlett-Packard Company. All rights reserved.
THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
Permission is hereby granted to use or copy this program
for any purpose, provided the above notices are retained on all
Permission to modify the code and to distribute modified code is
provided the above notices are retained, and a notice that the code
modified is included with the above copyright notice.
2.3 GNU CC General Public License
2.3.1 QuickFit Malloc
GNU CC General Public License
* Copyright University of Toronto 1988, 1989, 1993.
* Written by Mark Moraes
* Permission is granted to anyone to use this software for any
* any computer system, and to alter it and redistribute it freely,
* to the following restrictions:
* 1. The author and the University of Toronto are not responsible
* for the consequences of use of this software, no matter how
* even if they arise from flaws in it.
* 2. The origin of this software must not be misrepresented, either
* explicit claim or by omission. Since few users ever read
* credits must appear in the documentation.
* 3. Altered versions must be plainly marked as such, and must not
* misrepresented as being the original software. Since few
* ever read sources, credits must appear in the documentation.
* 4. This notice may not be removed or altered.
/* This COPYRIGHT does not apply to the subdirectory splay and its
vmalloc (Part of ast):
Nonexclusive Source Code License
Accepting this nonexclusive license from AT&T Corp. will permit you
download a single copy of certain source code, including
documentation, and to
use the source code solely in accordance with the following terms
1.You may modify the source code to make source code derivative
may compile the source code or the source code derivative works
object code derivative works.
2.You may make and use copies of the source code and the
internally as follows: a single operational copy of a single
derivative work for internal execution for any purpose together
copy of the operational copy made as part of the process of
operational copy; developmental copies as required for internal
development of derivative works of the source code; and other
required for archival purposes. You may transfer derived or
portions of the source code only to other registered licensees.
without executing an applicable commercial license with AT&T
part of the source code (including modifications and derivatives
may be sold, offered for sale, or made accessible on a computer
external to your own or your organization's; nor may commercial
utilizing the source code (including modifications and
thereof) be sold or offered for sale.
NO OTHER LICENSES ARE GRANTED OR IMPLIED.
3.In return for this license, you grant AT&T Corp. a nonexclusive
paid-up license to make, use, sell, have made, copy, distribute,
derivative works of any changes which you make in the source
code. At AT&T
Corp.'s request, you will provide AT&T Corp. with a copy of the
code for such changes.
4.AT&T Corp. has no obligation to support the source code it is
under this license. To the extent permitted under the applicable
AT&T Corp. is LICENSING THE SOURCE CODE "AS IS", WITH NO EXPRESS
IMPLIED WARRANTIES OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR
WARRANTIES AGAINST INFRINGEMENT OF ANY PROPRIETARY RIGHTS OF A
AND WILL NOT BE LIABLE TO YOU FOR ANY CONSEQUENTIAL, INCIDENTAL,
SPECIAL DAMAGES OR FOR ANY CLAIM BY ANY THIRD PARTY. Under this
the source code remains the property of AT&T Corp. and is
copyright law. EXCEPT AS SPECIFICALLY AUTHORIZED BY THE ABOVE
AGREEMENT, YOU MAY NOT USE, COPY OR TRANSFER THIS SOURCE CODE,
FORM, OR ANY MODIFICATION OR DERIVATIVE WORK THEREOF, IN WHOLE
OR IN PART.
5.AT&T Corp. may at any time assign or transfer all or part of its
in any rights to the source code, to this license, or to the
license from you to an affiliated or unaffiliated company or
Henvendelse vedrørende websiderne til <www_admin>.
2005-08-10, klokken 18:48
Denne side vedligeholdes af