1Test::Valgrind::SuppresUssieornsC(o3n)tributed Perl DocuTmeesntt:a:tViaolngrind::Suppressions(3)
2
3
4
6 Test::Valgrind::Suppressions - Generate suppressions for given tool and
7 command.
8
10 Version 1.19
11
13 This module is an helper for generating suppressions.
14
16 "generate"
17 Test::Valgrind::Suppressions->generate(
18 tool => $tool,
19 command => $command,
20 target => $target,
21 );
22
23 Generates suppressions for the command "$command->new_trainer" and the
24 tool "$tool->new_trainer", and writes them in the file specified by
25 $target. The action used behind the scenes is
26 Test::Valgrind::Action::Suppressions.
27
28 Returns the status code.
29
30 "maybe_generalize"
31 my $mangled_suppression = Test::Valgrind::Suppressions->maybe_generalize(
32 $session,
33 $suppression,
34 );
35
36 Removes all wildcard frames at the end of the suppression. It also
37 replaces sequences of wildcard frames by '...' when "valgrind" 3.4.0 or
38 higher is used. Returns the mangled suppression.
39
40 "maybe_z_demangle"
41 my $demangled_symbol = Test::Valgrind::Suppressions->maybe_z_demangle(
42 $symbol,
43 );
44
45 If $symbol is Z-encoded as described in "valgrind"'s
46 include/pub_tool_redir.h, extract and decode its function name part.
47 Otherwise, $symbol is returned as is.
48
49 This routine follows "valgrind"'s
50 coregrind/m_demangle/demangle.c:maybe_Z_demangle.
51
53 Test::Valgrind, Test::Valgrind::Command, Test::Valgrind::Tool,
54 Test::Valgrind::Action::Suppressions.
55
57 Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
58
59 You can contact me by mail or on "irc.perl.org" (vincent).
60
62 Please report any bugs or feature requests to
63 "bug-test-valgrind-suppressions at rt.cpan.org", or through the web
64 interface at
65 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will
66 be notified, and then you'll automatically be notified of progress on
67 your bug as I make changes.
68
70 You can find documentation for this module with the perldoc command.
71
72 perldoc Test::Valgrind::Suppressions
73
75 Copyright 2008,2009,2010,2011,2013,2015,2016 Vincent Pit, all rights
76 reserved.
77
78 This program is free software; you can redistribute it and/or modify it
79 under the same terms as Perl itself.
80
81
82
83perl v5.28.0 2016-08-01 Test::Valgrind::Suppressions(3)