devel/leaktracer 2.4 DragonFly
Trace and analyze memory leaks in C++ programs
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- PD
- Categories
- devel
- Package size
- 11.3 KiB, 34.7 KiB installed
Description
LeakTracer is a small tool for checking C++ programs for memory leaks. Run your program using the provided LeakCheck script. It uses the LD_PRELOAD feature to "overlay" some functions on top of your functions (no recompile needed).
LeakTracer uses gdb to print out the exact line where memory was allocated but not freed -- this means you have to free all dynamically allocated data. LeakTracer also overrides the global operator new and operator delete -- this will give problems if you override them as well.
LeakTracer traces only new/delete calls; it does not look at traditional malloc/free/realloc.
In the other systems
The newest version among them is 2.4, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/leaktracer | 2.4 newest | none known | - | [email protected] | - |
| FreeBSD | devel/leaktracer | 2.4 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/leaktracer | 2.4 newest | no data | - | [email protected] | - |
| GhostBSD | devel/leaktracer | 2.4 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install leaktracer
From DPorts:
cd /usr/dports/devel/leaktracer && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none