Test::Valgrind::Tool::memcheck(3pm)

Test::Valgrind::Tool::memcheck3pm

Run an analysis through the memcheck tool.

Version

Version 1.19

Overview

This class contains the information required by the session for running the "memcheck" tool.

Methods

This class inherits Test::Valgrind::Tool.

"requires_version"

    my $required_version = $tvt->requires_version;

This tool requires "valgrind" 3.1.0.

"new"

    my $tvtm = Test::Valgrind::Tool::memcheck->new(
     callers => $callers,
     %extra_args,
    );

Your usual constructor.

$callers specifies the number of stack frames to inspect for errors : the bigger you set it, the more granular the analysis is.

Other arguments are passed straight to "Test::Valgrind::Tool->new".

"callers"

    my $callers = $tvtm->callers;

Read-only accessor for the "callers" option.

"parser_class"

    my $parser_class = $tvtm->parser_class($session);

This tool uses a Test::Valgrind::Parser::XML::Twig parser in analysis mode, and a Test::Valgrind::Parser::Suppressions::Text parser in suppressions mode.

"report_class"

    my $report_class = $tvtm->report_class($session);

This tool emits "Test::Valgrind::Tool::memcheck::Report" object reports in analysis mode, and "Test::Valgrind::Report::Suppressions" object reports in suppressions mode.

Support

You can find documentation for this module with the perldoc command.

    perldoc Test::Valgrind::Tool::memcheck

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0
  2. 7
  3. 8
  4. 9–11
  5. 12
  6. 13

Author

Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.

You can contact me by mail or on "irc.perl.org" (vincent).

Bugs

Please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

From libtest-valgrind-perl 1.19-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.