Test::Valgrind::Suppressions.3pm

Langue: en

Autres versions - même langue

Version: 2009-11-29 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Test::Valgrind::Suppressions - Generate suppressions for given tool and command.

VERSION

Version 1.12

DESCRIPTION

This module is an helper for generating suppressions.

METHODS

generate tool => $tool, command => $command, target => $target

Generates suppressions for the command "$command->new_trainer" and the tool "$tool->new_trainer", and writes them in the file specified by $target. The action used behind the scenes is Test::Valgrind::Action::Suppressions.

Returns the status code.

strip_tail $session, $suppression

Removes all wildcard frames at the end of the suppression. Moreover, '...' is appended when "valgrind" 3.4.0 or higher is used. Returns the mangled suppression.

maybe_z_demangle $symbol

If $symbol is Z-encoded as described in "valgrind"'s include/pub_tool_redir.h, extract and decode its function name part. Otherwise, $symbol is returned as is.

This routine follows "valgrind"'s coregrind/m_demangle/demangle.c:maybe_Z_demangle.

SEE ALSO

Test::Valgrind, Test::Valgrind::Command, Test::Valgrind::Tool, Test::Valgrind::Action::Suppressions.

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-suppressions 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::Suppressions
 
 
Copyright 2008-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.