memcheck-0.1.1 is released

Hal Duston hald at sound.net
Thu Aug 29 16:12:09 CDT 2002


                           Memcheck - Memory Checker

   This is the source distribution of memcheck, Memory Allocation
   Checker.
   To find out what's new in memcheck, see the file `NEWS'. To find out
   how to build memcheck, consult the file `INSTALL'.
   For further information, consult the following files:

     * AUTHORS List of contributing authors.
     * COPYING The memcheck license.
     * INSTALL How to build and install memcheck.
     * NEWS Release information and recent changes.
     * README This file.

     What:
     * Fault on pointer overrun (read or write).
     * Fault on freed pointer dereference (read or write).
     * Log double free or realloc of already freed pointer.
     * Log memory not freed on exit.
     * Check for pointer underrun on free/realloc.
     * Optionally reverse behaviour of overrun and underrun.
     * Optionally "churn" reallocations. Always return a different
       pointer.
     * Optionally log pointer overruns instead of faulting.
     * Optionally return freed memory to system. (May hurt checking for
       freed pointer usage).
     * Very small performance impact.
     * Large memory footprint impact.
     * Includes a validation test suite to test correctness of
       libmemcheck.

     Where:
     * http://www.sound.net/~hald/projects/memcheck/

     Who:
     * Hal Duston hald at sound.net

     How:
     * Building
          + ./configure
          + make
          + make check
          + make install
     * Using
          + On systems using GCC, bash, glibc:
          + For source compilation, you can add `-include memcheck.h' to
            CPPFLAGS.
          + For binaries, you can add `libmemcheck.so' to LD_PRELOAD
          + You will need to recompile after adding #include "memcheck.h"
            to the source, and `-lmemcheck' to LDFLAGS.

     Environment variables:
     * MEMCHECK_RESTART set to 'r' to restart after marking page as
       read-only.
       set to 'w' to restart after marking page as read/write.
     * MEMCHECK_UNDERRUNS set to trap underruns instead of overruns.
     * MEMCHECK_REUSE set to reuse freed memory.
     * MEMCHECK_CHURN set to return a new pointer even if it wouldn't
       have changed.

     Systems:
     * alpha-dec-osf5.1: All features available.
     * alpha-unknown-freebsd4.6: All features available.
     * alpha-unknown-netbsd1.5.2: All features available.
     * alpha-unknown-openbsd3.1: All features available.
     * alphaev56-dec-osf4.0: All features available.
     * alphaev6-dec-osf5.1: All features available.
     * alphaev6-unknown-linux-gnu: All features available.
     * alphaev67-dec-osf5.1: All features available.
     * armv4l-unknown-linux-gnu: All features available.
       Works on 2.4.x w/glibc-2.2.3.
       Doesn't work on 2.2.x w/glibc/2.1.2.
     * hppa2.0w-hp-hpux11.00: All features available.
     * hppa2.0w-hp-hpux11.11: All features available.
     * powerpc-apple-darwin5.5: Faulting data address isn't available to
       signal handler. MEMCHECK_RESTART isn't available.
     * i386-unknown-freebsd4.6: All features available.
     * i386-unknown-openbsd3.1: All features available.
     * i686-pc-linux-gnu: All features available.
     * ia64-unknown-linux: All features available.
     * rs6000-ibm-aix3.2.5: All features available.
     * sparc-sun-solaris2.5: All features available.




More information about the Kclug mailing list