The devel/p5-Devel-Leak port
p5-Devel-Leak-0.03p6 – finding memory leaks in perl XS (cvsweb github mirror)
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.WWW: https://metacpan.org/release/Devel-Leak
Maintainer
The OpenBSD ports mailing-list
Categories
Files
- /usr/local/libdata/perl5/site_perl/amd64-openbsd/
- /usr/local/libdata/perl5/site_perl/amd64-openbsd/Devel/
- /usr/local/libdata/perl5/site_perl/amd64-openbsd/Devel/Leak.pm
- /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/
- /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/Devel/
- /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/Devel/Leak/
- /usr/local/libdata/perl5/site_perl/amd64-openbsd/auto/Devel/Leak/Leak.so
- /usr/local/man/man3p/Devel::Leak.3p