Projects / LMDBG

LMDBG

LMDBG is a collection of small tools for collecting and analyzing the logs of malloc/realloc/memalign/free function calls. Unlike many others, LMDBG does not provide any way to detect overruns of the boundaries of malloc() memory allocations, as this is not the goal. Like most other malloc debuggers, LMDBG allows detecting memory leaks and double frees. However, unlike others, LMDBG generates full stacktraces and separates the logging process from analysis, thus allowing you to analyze an application on a per-module basis.

Tags
Licenses
Operating Systems
Implementation
Translations

RSS Recent releases

  •  03 Dec 2011 00:06

    Release Notes: This release adds a lot of improvements and fixes in manual pages, new capabilities in lmdbg, lmdbg-run, and lmdbg-sym, and minor fixes to lmdbg-stat. lmdbg is now a meta tool which is able to do many more things, not just find memory leaks.

    •  07 Oct 2010 22:12

      Release Notes: Logging of calloc(3) invocations is disabled on glibc-based systems (Linux, GNU/kFreeBSD, and maybe others) because lmdbg-run fails on them. Minor clean-ups, fixes, and improvements. mk-configure >= 0.20 is required for building.

      •  26 May 2010 22:25

        Release Notes: New tools lmdbg-strip and lmdbg-modules. lmdbg-sort has a new "num" sorting field. Minor fixes and improvements. lmdbg-grep has new variables to check: "op", "op_type", and "bytes"; and a new field to grep: "module". Minor improvements and fixes for lmdbg-stat, lmdbg, lmdbg-run, and internal tools lmdbg-m2s and lmdbg-s2m. Fixes for warning messages produced by gcc. More regression tests.

        •  13 Apr 2010 21:51

        Release Notes: New tools: lmdbg-stat, lmdbg-grep, and lmdbg-sort for collecting and analyzing statistical information about memory allocations. lmdbg-run has the new options -S and -M for generating shortened stack traces. lmdbg-sym has a new option -p for obtaining the program name from lmdbg-run's output. 'mkcmake test' removes its temporary files.

        •  01 Feb 2010 01:39

          Release Notes: 'make install' should no longer install test utilities from the tests/ subdirectory. lmdbg-sym: the exit status of gdb(1) is checked. The LMDBG_GDB environment variable sets the path to the gdb(1) program, overriding the build-time default. lmdbg-multi2single and lmdbg-single2multi are reimplemented in C for better efficiency. The build-time AWK variable sets an AWK interpreter for awk scripts.

          Screenshot

          Project Spotlight

          Libtasn1

          An ASN.1 structures parser.

          Screenshot

          Project Spotlight

          Monit

          A utility for monitoring Unix system services.