devel/p5-Devel-Leak 0.04 OpenBSD
finding memory leaks in perl XS
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
Description
Devel::Leak has two functions NoteSV and CheckSV.
NoteSV walks the perl internal table of allocated SVs (scalar values) - (which actually contains arrays and hashes too), and records their addresses in a table. It returns a count of these "things", and stores a pointer to the table (which is obtained from the heap using malloc()) in its argument.
Note that you need a perl built with -DDEBUGGING for sv_dump() to print anything, but counts are valid in any perl.
If new "things" have been created, CheckSV may (also) report additional "things" which are allocated by the sv_dump() code.
In the other systems
The newest version among them is 0.04, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/p5-Devel-Leak | 0.04 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| FreeBSD | devel/p5-Devel-Leak | 0.03_2 | none known | - | [email protected] | - |
| NetBSD | devel/p5-Devel-Leak | 0.04nb9 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-Devel-Leak | 0.03_2 | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-Devel-Leak | 0.03_2 | no data | - | [email protected] | - |
| GhostBSD | devel/p5-Devel-Leak | 0.03_2 | no data | - | [email protected] | - |
Install
Binary package:
pkg_add p5-Devel-Leak
From the ports tree:
cd /usr/ports/devel/p5-Devel-Leak && make install
Dependencies
No port depends on this one.