devel/p5-Test-Weaken - The NetBSD Packages Collection

Test that freed memory objects were, indeed, freed

Test::Weaken helps detect unfreed Perl data in arrays, hashes, scalars,
objects, etc, by descending recursively through structures and watching
that everything is freed. Unfreed data is a useless overhead and may
cause an application to abend due to lack of memory.

Normally if the last reference to something is discarded then it and
anything in it is freed automatically. But this might not occur due to
circular references, unexpected global variables or closures, or reference
counting mistakes in XSUBs.

Test::Weaken is named for the strategy used to detect leaks. References
are taken to the test objects and all their contents, then those
references are weakened and expected to be then freed.

There's options to ignore intentional globals, or include extra associated
data held elsewhere, or invoke an explicit destructor. Unfreed parts are
reported and can be passed to other modules such as Devel::FindRef to try
to discover why they weren't freed.

Test::Weaken examines structures to an unlimited depth and is safe on
circular structures.

Build dependencies

pkgtools/cwrappers

Runtime dependencies

lang/perl5 lang/perl5

Binary packages

OSArchitectureVersion
NetBSD 8.0earmv7hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0earmv7hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0earmv7hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0i386p5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0i386p5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0i386p5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0powerpcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0powerpcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0powerpcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0x86_64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 8.0x86_64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0aarch64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0aarch64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0aarch64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0alphapapaya-0.1.7nb15.tgz
NetBSD 9.0alphap5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0alphap5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv6hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv6hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv6hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv6hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv7hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv7hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv7hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0earmv7hfp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0i386p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0i386p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0i386p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0mips64ebp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0mips64ebp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0mips64ebp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0powerpcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0powerpcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0sparc64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0sparc64p5-Test-Weaken-3.022000nb7.tgz
NetBSD 9.0sparc64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0sparc64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0sparcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0sparcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0sparcp5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0x86_64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0x86_64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0x86_64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0x86_64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0x86_64p5-Test-Weaken-3.022000nb8.tgz
NetBSD 9.0x86_64p5-Test-Weaken-3.022000nb8.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.