As most other malloc debuggers LMDBG allows detecting memory leaksand double frees.However, unlike others, LMDBG generates *FULL* stacktracesand separates logging from analysis thusallowing to analyse an application on per-module basis.
Be the first to post a text review of Lightweight malloc debugger. Rate and review a project by clicking thumbs up or thumbs down in the right column.
2009-05-31 Aleksey Cheusov <vle@gmx.net> * Makefile.version: version -> 0.10.0 * TODO: del task * INSTALL, NEWS: Update for release notes and installation instructions. 2009-05-14 Aleksey Cheusov <vle@gmx.net> * liblmdbg/Makefile: MKC_COMMON_DEFINES -> MKC_COMMON_DEFINES.`uname -s` * liblmdbg/Makefile: Disable SHLIB_MAJOR and SHLIB_MINOR Fixed: bmake's warning about rules overriding DPLIBS is used instead of LDADD .so lib is install with a help of FILES, SYMLINKS etc... * Makefile, Makefile.test: regression tests have been moved to the separate Makefile.test * Makefile: clean-ups, remove unneeded code 2009-05-13 Aleksey Cheusov <vle@gmx.net> * Makefile: remove unnecessary install-dirs target, now it is in mk-configure 2009-05-10 Aleksey Cheusov <vle@gmx.net> * libstacktrace/stacktrace.h: header is now friendly for C++ compilers 2009-05-09 Aleksey Cheusov <vle@gmx.net> * NEWS: notes about release 0.10.0 * README, TODO, scripts/Makefile, scripts/lmdbg-leak-check.1.in, scripts/lmdbg-leak-check.in, scripts/lmdbg-leaks.1.in, scripts/lmdbg-run.1.in, scripts/lmdbg-sym.1.in, scripts/lmdbg-sysleaks.1.in, scripts/lmdbg.1.in, scripts/lmdbg.in, tests/test.out, tests/test.sh: 'lmdbg-leak-check' tool has been renamed to 'lmdbg' * Makefile: remove debugging code * scripts/lmdbg-leaks.1.in, scripts/lmdbg-run.1.in, scripts/lmdbg-sym.1.in, scripts/lmdbg-sysleaks.1.in, scripts/lmdbg-leak-check.1.in: Minor improvement in SEE ALSO section * TODO: -a|-g for lmdbg-leak-check * scripts/lmdbg-leak-check.1.in, scripts/lmdbg-sysleaks.1.in, scripts/lmdbg-sym.1.in, scripts/lmdbg-leaks.1.in, scripts/lmdbg-run.1.in: man page improved * scripts/Makefile, scripts/lmdbg-leak-check.1.in, scripts/lmdbg-run.1.in, scripts/lmdbg-sym.1.in, scripts/lmdbg-sysleaks.1.in, scripts/lmdbg-sysleaks.in: @sysconfdir@, @libdir@ etc... All man pages are preprocessed and installed * TODO: new task * scripts/lmdbg-leak-check.1.in, scripts/lmdbg-sysleaks.1.in, scripts/lmdbg-leaks.1.in, scripts/lmdbg-sym.1.in, scripts/lmdbg-run.1.in: new man page! * Makefile, tests/test.sh: 'bmake test' doesn't depend on common .OBJDIR anymore! * liblmdbg/Makefile, libstacktrace/Makefile: -O0 -g for both stacktrace.c and lmdbg.c This unbreaks lmdbg on NetBSD2/alpha 2009-04-27 Aleksey Cheusov <vle@gmx.net> * liblmdbg/Makefile: ln -f ... * liblmdbg/lmdbg.c: fixed: lint warnings 2009-04-26 Aleksey Cheusov <vle@gmx.net> * README: changes for recent fixes for -a * tests/test.out, tests/test.sh: regression tests fixes for recent fixes in -a * scripts/lmdbg-sym.in: Fixes for -a mode. Now it outputs results in the same format as -g. * tests/test.sh: cleanups 2009-04-25 Aleksey Cheusov <vle@gmx.net> * liblmdbg/lmdbg.c: log_enabled variable is set from gdb, so it should NOT be static 2009-04-03 Aleksey Cheusov <vle@gmx.net> * liblmdbg/Makefile: .so object file should be used, not .o, otherwise library is not linked under Solaris (without -mimpure-text) * scripts/lmdbg-sysleaks.in: Support for shitty Solaris /bin/sh, Fuck! * tests/test.sh: Diverse fixes for Solaris - support for shitty shell :-/ - 0x vs '%p"
2009-03-29 Aleksey Cheusov <vle@gmx.net> * liblmdbg/Makefile: mkc.configure should be included BEFORE changing LDADD * Makefile: fix ../Makefile.version -> ./xxx * Makefile: less garbage in CLEANFILES * Makefile.version, NEWS: version -> 0.10alpha1 * liblmdbg/Makefile: notes about bsd.*.mk * liblmdbg/Makefile: CFLAGS gets LMDBG version 2009-03-28 Aleksey Cheusov <vle@gmx.net> * Makefile.version, scripts/Makefile, Makefile: fix for VERSION * scripts/Makefile: mkc.intexts.mk is in action! * libstacktrace/Makefile, liblmdbg/Makefile: minor clean-ups in comments * Makefile: install-dirs also install INCSDIR * liblmdbg/Makefile: notes about overriding the default rule * libstacktrace/Makefile: INCS is also set * libstacktrace/Makefile.inc: not needed anymore * libstacktrace/linkme.mk: forgot to commit it * liblmdbg/Makefile: ../xxx/linkme.mk is used instead of MKC_DPLIBS * liblmdbg/Makefile: s/MKCDPLIBS/MKC_DPLIBS/ * liblmdbg/Makefile: .so links * libstacktrace/Makefile: libstacktrace cannot be compiled with -O0 ! * liblmdbg/Makefile: fix for building liblmdbg.so * liblmdbg/Makefile: bad hardcoded rule * libstacktrace/Makefile, tests/test.sh, liblmdbg/Makefile, Makefile: Further development, adaptation for MKC framework 2009-03-27 Aleksey Cheusov <vle@gmx.net> * Makefile: minor clean-ups * scripts/Makefile, scripts/lmdbg-leak-check.in, scripts/lmdbg-leaks.in, scripts/lmdbg-run.in, scripts/lmdbg-sym.in, scripts/lmdbg-sysleaks.in: More files * Makefile, TODO, liblmdbg/Makefile, liblmdbg/lmdbg.c, libstacktrace/Makefile, libstacktrace/Makefile.inc, libstacktrace/stacktrace.c, libstacktrace/stacktrace.h, lmdbg-leak-check.in, lmdbg-leaks.in, lmdbg-run.in, lmdbg-sym.in, lmdbg-sysleaks.in, lmdbg.c, stacktrace.c, stacktrace.h: Code is reorganized to be more conformant to BSD make style * lmdbg.c, Makefile: Adaptation for the latest mk-configure * tests/lmdbg2.conf, tests/lmdbg3.conf: minor fixes for shutting up regression tests * Makefile, tests/test.sh: fixes in regression tests :-) 2009-03-17 Aleksey Cheusov <vle@gmx.net> * Makefile: comments 2009-03-14 Aleksey Cheusov <vle@gmx.net> * lmdbg-run.in, lmdbg-sym.in, tests/test.sh: LMDBG_LIBDYN variables renamed to LMDBG_LIB LMDBG_ENV is used by lmdbg-sym too * lmdbg-run.in: minor clean-ups renamings $LMDBG_ENV is added to application's environment * TODO: one task done * install-sh: remove yet another autoconf stuff * Makefile: BSD make rocks :-) * Makefile: Explicit rules 'lmdbg.o: lmdbg.c' instead of suffix rules s/$@/.TARGET/ * Makefile: <configure.mk> -> "configure.mk" 2009-03-13 Aleksey Cheusov <vle@gmx.net> * tests/lmdbg5.conf, tests/lmdbg6.conf, tests/test.out, tests/test.sh: fixes in tests * lmdbg-sysleaks.in: Two new keywords in config file: ignore_basefile, ignore_baseline * stacktrace.c, Makefile: fixes for Linux * INSTALL, README: Documentation update * Makefile.in, config.guess, config.sub, configure.in, lmdbg-leaks.in, lmdbg-run.in, lmdbg-sym.in, lmdbg-sysleaks.in, lmdbg.c, tests/lmdbg2.conf, tests/lmdbg3.conf, tests/lmdbg4.conf, tests/test.out, tests/test.sh, Makefile: Good Bye Autohell! You are too big, too complex and too badly designed... Now everything is rewritten in BMAKE, NetBSD make portable to other OSes. For autoconfiguration mk-configure project is used. See how it differ. 2009-03-12 Aleksey Cheusov <vle@gmx.net> * TODO: lots of new tasks
2009-03-07 Aleksey Cheusov <vle@gmx.net> * Makefile.in: two new targets: stacktrace and install.stacktrace building and installing stacktrace(3) library compatible with glibc's backtrace(3) 2009-03-06 Aleksey Cheusov <vle@gmx.net> * stacktrace.c: one more renaming * Makefile.in, lmdbg.c, stacktrace.c: added: forgotten HAVE_CONFIG_H * Makefile.in, tests/test.sh: fixes for using something like CC="icc -no-gcc" * lmdbg.c: renamings * Makefile.in, lmdbg.c, stacktrace.c, stacktrace.h: generate_traceback renamed to stacktrace which is now fully compatible with glibc's backtrace. Code clean-ups. stacktrace.h
2009-02-28 Aleksey Cheusov <vle at gmx.net} * Makefile.in: fix for "test" target * NEWS: Notes about release-0.8.1 * Makefile.in: lmdbg.o depends on stacktrace.c * stacktrace.c: stacktrace consists of up to 40 elements * configure.in: version -> 0.8.1 * Makefile.in: remove GPL phantoms * Makefile.in: set -e 2009-02-26 Aleksey Cheusov <vle at gmx.net} * COPYING: Good bye, GPL license. Now everything is MIT licenced * stacktrace.c: fix for previous clean-ups :-) * Makefile.in: lmdbg.o also depends on config.h * stacktrace.c: code clean-ups, better #ifdefs 2009-02-22 Aleksey Cheusov <vle at gmx.net} * Makefile.in: install/uninstall lmdbg-sysleaks * NEWS, configure.in: version -> 0.8.0 Release notes in NEWS * README, lmdbg-sysleaks.in: more README * lmdbg-leak-check.in, tests/lmdbg4.conf, tests/test.out, tests/test.sh: fixes and regression tests for lmdbg-leak-check * Makefile.in: minor fixes in the target "clean" * tests/test.out, tests/test.sh: one more test for lmdbg-sysleaks * tests/lmdbg-check1.conf, tests/lmdbg-check2.conf, tests/lmdbg-check3.conf, tests/lmdbg1.conf, tests/lmdbg2.conf, tests/lmdbg3.conf, tests/test.sh: config files for tests renamed * Makefile.in, README, configure.in, lmdbg-check.in, lmdbg-leaks.in, lmdbg-sysleaks.in, tests/test.out, tests/test.sh: lmdbg-check utility is splitted in two independant ones: lmdbg-leaks - for normal memory leaks, lmdbg-sysleaks - for memory leaks in system libraries. * README: comprehensive help in README * configure.in, lmdbg-run.in, lmdbg-sym.in, lmdbg.c: First commits to this project were made in 2003. Then it was forgoten and now revived. * lmdbg-check.in: better --help output * Makefile.in: addition to 'make clean' * lmdbg-leak-check.in: added: -c option to pass config file to lmdbg-check * lmdbg-check.in, lmdbg-leak-check.in, lmdbg-run.in, lmdbg-sym.in, lmdbg.c: MIT license * lmdbg-check.in: better --help message * Makefile.in, lmdbg-check.in, lmdbg-leak-check.in, lmdbg.c, tests/lmdbg-check1.conf, tests/lmdbg-check2.conf, tests/lmdbg-check3.conf, tests/test.out, tests/test.sh, tests/test2.c: lmdbg-check: new -s options is a synonyms for --system-leaks lmdbg-check: fixes in -s|--system-leaks lmdbg-check: code clean-ups lmdbg-check: regression tests for -s|--system-leaks lmdbg-leak-check: better verbose messages lmdbg-run: malloc also outputs --> just like others (was: ->) * tests/test.sh: another fix in test * tests/test.out, tests/test.sh: fixed: bug intests (gcc-4.3) * Makefile.in: support for idiotic Solaris` /bin/sh *&^%$&%$*^% * lmdbg-sym.in: fix for Solaris: Solaris's printf("%p") doesn't prepand address with 0x * Makefile.in: NetBSD and Linux have different number of frames. 'make test' now takes this into account. * tests/test.out, tests/test.sh: fixes for Linux * stacktrace.c: support for Linux added * lmdbg-check.in: another FIX for allocated bytes count * tests/test.sh: modified PATH * tests/test1.c: fixed: missed return 0 * tests/test.out, tests/test.sh: more tests for "lmdbg-run -p" * lmdbg-run.in: added: -p option for lmdbg-run * lmdbg-sym.in: GDB is the default! * tests/test.sh: use local liblmdbg.so! * tests/test1.c: oops, I forgot about it * lmdbg-sym.in, tests/test.out, tests/test.sh: added: 'lmdbg-sym -a' option, regression test for it * tests/test.out, tests/test.sh: more tests for lmdbg-sym * lmdbg-sym.in: added: -g option * tests/test.out, tests/test.sh: test for lmdbg-sym * lmdbg-check.in, tests/test.out: fix in lmdbg-check: wrong number of allocated bytes were output * tests/test.out, tests/test.sh: new test for lmdbg-check * tests/test.out, tests/test.sh: another test for lmdbg-run * Makefile.in, tests/test.out, tests/test.sh: Good test for lmdbg-run * tests/test.out, tests/test.sh: more simple stupid tests * lmdbg-check.in, lmdbg-sym.in: minor clean-ups in options handling * Makefile.in, tests/test.out, tests/test.sh: initial "make test" * lmdbg.c, stacktrace.c: Completely new implementation of stacktrace function. Now it my own, portable to almost any hardware architecture where gcc works. There is no limit on i386 anymore. YAMD code was thrown out. GPL was thrown out too. I prefer MIT license. * README: spelling check
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?