BSD Ports

devel/lmdbg 1.3.0 NetBSD

Lightweight Modular malloc Debugger

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel
Package size
42.5 KiB, 189.5 KiB installed

Description

LMDBG is a collection of small tools for collecting and analyzing logs of malloc/realloc/memalign/free etc. function calls. LMDBG generates full stacktraces and separates the logging process from analysis, thus allowing you to analyze application on a per-module basis. Simple but powerful tools for analisis are also provided.

lmdbg - Meta tool, all in one. lmdbg-run - Creates malloc/realloc/free/memalign/... logs lmdbg-sym - Converts addresses to 'file.c:NUM func_name' lmdbg-leak - Checks for memory leaks lmdbg-stat - Gathers statistical information about memory allocations lmdbg-grep - Greps the stackframes lmdbg-strip - Strips the stackframes lmdbg-module - Enrichs the stackframes with a module name lmdbg-sort - Sorts the stackframes by e.g. total allocated bytes, a number of memory allocations etc. lmdbg-sysleaks - Filters out system memory leaks e.g. libc's

In the other systems

SystemPortVersion
NetBSDdevel/lmdbg1.3.0
FreeBSDdevel/lmdbg1.3.0_1
DragonFlydevel/lmdbg1.3.0_1
GhostBSDdevel/lmdbg1.3.0_1

Install

Binary package:

pkgin install lmdbg

From pkgsrc:

cd /usr/pkgsrc/devel/lmdbg && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.0
NetBSD 10.1 aarch641.3.0
SmartOS / illumos x86_641.3.0
macOS 15 arm64-

Dependencies

Run dependencies 3

No port depends on this one.