NAME

Test::Valgrind::Tool::memcheck - Run an analysis through the memcheck tool.

VERSION

Version 1.10

DESCRIPTION

This tool parses the XML output of a memcheck run with XML::Twig.

METHODS

This class inherits Test::Valgrind::Tool.

requires_version

This tool requires valgrind 3.1.0.

new callers => $callers, ...

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

Read-only accessor for the callers option.

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 $session

This tool emits Test::Valgrind::Tool::memcheck::Report object reports in analysis mode.

SEE ALSO

Test::Valgrind, Test::Valgrind::Tool.

XML::Twig.

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.

SUPPORT

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

perldoc Test::Valgrind::Tool::memcheck

COPYRIGHT & LICENSE

Copyright 2009 Vincent Pit, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.