* About liblkrs liblkrs is a simple and (probably) portable library for detecting memory leaks, and a couple other less likely errors. It works by using macros to replace memory allocation and deallocation function calls with calls from liblkrs; recording information in a log file; and then, after the program has finished, examining this file for errors. I wrote liblkrs because, at the time, I wasn't able to find a library for debugging memory leaks that would compile on the OS I use. Since then I've discovered and been using memdebug, which seems to be very portable and is available at: ftp://ftp.crpht.lu/pub/sources/memdebug/ Some other packages worth looking into are: Plumber - identify the memory leaks http://www.ics.uci.edu/~softtest/plumber/ GNU Checker - finds memory errors at runtime http://www.gnu.org/software/checker/checker.html Boehm-Demers-Weiser conservative garbage collector http://www.hpl.hp.com/personal/Hans_Boehm/gc/ Electric Fencedetect when software overruns the boundaries of a malloc() and any accesses of memory that has been released by free(). http://sunsite.unc.edu/pub/Linux/devel/lang/c/ElectricFence-2.0.5.tar.gz * Licensing liblkrs is a library to help detect memory leaks and other errors Copyright (C) 2000 Gabriel M. Deal gmd@yellowleaf.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.