Creating a more generic memcheck suppression

Chromium roll into WebRTC is failing because of a memcheck error.
The tool suggests to add this suppression:

{
   <insert_a_suppression_name_here>
   Memcheck:Uninitialized
   fun:vfprintf
   fun:vsnprintf
   fun:snprintf
   fun:_ZN7testing9internal220PrintBytesInObjectToEPKhmPSo
   fun:_ZN7testing8internal14Default...
   fun:_ZN7testing8internal20MatchPrint...
   fun:_ZNK7testing8internal29Predicate...
}

This CL tries to remove some duplication using a more generic pattern.

BUG=webrtc:6773
NOTRY=True

Review-Url: https://codereview.webrtc.org/2991643002
Cr-Commit-Position: refs/heads/master@{#19132}
This commit is contained in:
mbonadei
2017-07-25 07:30:06 -07:00
committed by Commit Bot
parent 42f44f9cf6
commit d5e3d0f958

View File

@ -54,35 +54,12 @@
fun:_ZN3rtc47HttpServer_SignalsCloseAfterForcedCloseAll_Test8TestBodyEv
}
{
bug_6773_3
bug_6773
Memcheck:Uninitialized
fun:vfprintf
fun:vsnprintf
fun:snprintf
...
fun:_ZN6webrtc36RtcpPacketFirTest_TwoFciEntries_Test8TestBodyEv
}
{
bug_6773_2
Memcheck:Uninitialized
fun:vfprintf
fun:vsnprintf
fun:snprintf
fun:_ZN7testing12_GLOBAL__N_126PrintByteSegmentInObjectToEPKhmmPSo
...
fun:_ZNK6webrtc11MockRtpRtcp11FlexfecSsrcEv
fun:_ZN6webrtc12PacketRouter16TimeToSendPacketEjtlbi
fun:_ZN6webrtc38PacketRouterTest_TimeToSendPacket_Test8TestBodyEv
}
{
bug_6773_1
Memcheck:Uninitialized
fun:vfprintf
fun:vsnprintf
fun:snprintf
fun:_ZN7testing12_GLOBAL__N_126PrintByteSegmentInObjectToEPKhmmPSo
...
fun:_ZN6webrtc28RtcpPacketFirTest_Parse_Test8TestBodyEv
}
{
bug_3446