1Test::Valgrind::Tool::mUesmecrheCcokn(t3r)ibuted Perl DoTceusmte:n:tVaatligornind::Tool::memcheck(3)
2
3
4
6 Test::Valgrind::Tool::memcheck - Run an analysis through the memcheck
7 tool.
8
10 Version 1.19
11
13 This class contains the information required by the session for running
14 the "memcheck" tool.
15
17 This class inherits Test::Valgrind::Tool.
18
19 "requires_version"
20 my $required_version = $tvt->requires_version;
21
22 This tool requires "valgrind" 3.1.0.
23
24 "new"
25 my $tvtm = Test::Valgrind::Tool::memcheck->new(
26 callers => $callers,
27 %extra_args,
28 );
29
30 Your usual constructor.
31
32 $callers specifies the number of stack frames to inspect for errors :
33 the bigger you set it, the more granular the analysis is.
34
35 Other arguments are passed straight to "Test::Valgrind::Tool->new".
36
37 "callers"
38 my $callers = $tvtm->callers;
39
40 Read-only accessor for the "callers" option.
41
42 "parser_class"
43 my $parser_class = $tvtm->parser_class($session);
44
45 This tool uses a Test::Valgrind::Parser::XML::Twig parser in analysis
46 mode, and a Test::Valgrind::Parser::Suppressions::Text parser in
47 suppressions mode.
48
49 "report_class"
50 my $report_class = $tvtm->report_class($session);
51
52 This tool emits "Test::Valgrind::Tool::memcheck::Report" object reports
53 in analysis mode, and "Test::Valgrind::Report::Suppressions" object
54 reports in suppressions mode.
55
57 Test::Valgrind, Test::Valgrind::Tool.
58
60 Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
61
62 You can contact me by mail or on "irc.perl.org" (vincent).
63
65 Please report any bugs or feature requests to "bug-test-valgrind at
66 rt.cpan.org", or through the web interface at
67 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will
68 be notified, and then you'll automatically be notified of progress on
69 your bug as I make changes.
70
72 You can find documentation for this module with the perldoc command.
73
74 perldoc Test::Valgrind::Tool::memcheck
75
77 Copyright 2009,2010,2011,2013,2015,2016 Vincent Pit, all rights
78 reserved.
79
80 This program is free software; you can redistribute it and/or modify it
81 under the same terms as Perl itself.
82
83
84
85perl v5.36.0 2023-01-20 Test::Valgrind::Tool::memcheck(3)