Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(877)

Side by Side Diff: webrtc/build/sanitizers/lsan_suppressions_webrtc.cc

Issue 2651913002: Moving sanitizers from build/ to base/ (Closed)
Patch Set: Moving sanitizers from base/ to tools-webrtc/ Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/build/sanitizers/README ('k') | webrtc/build/sanitizers/tsan_suppressions_webrtc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 // This file contains the WebRTC suppressions for LeakSanitizer.
12 // You can also pass additional suppressions via LSAN_OPTIONS:
13 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to
14 // http://dev.chromium.org/developers/testing/leaksanitizer for more info.
15
16 #if defined(LEAK_SANITIZER)
17
18 // Please make sure the code below declares a single string variable
19 // kLSanDefaultSuppressions which contains LSan suppressions delimited by
20 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer
21 // for the instructions on writing suppressions.
22 char kLSanDefaultSuppressions[] =
23
24 // ============ Leaks in third-party code shared with Chromium =============
25 // These entries are copied from build/sanitizers/lsan_suppressions.cc in
26 // Chromium. Please don't add new entries here unless they're present in there.
27
28 // False positives in libfontconfig. http://crbug.com/39050
29 "leak:libfontconfig\n"
30
31 // Leaks in Nvidia's libGL.
32 "leak:libGL.so\n"
33
34 // XRandR has several one time leaks.
35 "leak:libxrandr\n"
36
37 // xrandr leak. http://crbug.com/119677
38 "leak:XRRFindDisplay\n"
39
40 // ========== Leaks in third-party code not shared with Chromium ===========
41
42 // None known so far.
43
44 // ================ Leaks in WebRTC code ================
45 // PLEASE DO NOT ADD SUPPRESSIONS FOR NEW LEAKS.
46 // Instead, commits that introduce memory leaks should be reverted. Suppressing
47 // the leak is acceptable in some cases when reverting is impossible, i.e. when
48 // enabling leak detection for the first time for a test target with
49 // pre-existing leaks.
50
51 // rtc_unittest
52 // https://code.google.com/p/webrtc/issues/detail?id=3827 for details.
53 "leak:rtc::unstarted_task_test_DoNotDeleteTask2_Test::TestBody\n"
54 "leak:rtc::HttpServer::HandleConnection\n"
55 "leak:rtc::HttpServer::Connection::onHttpHeaderComplete\n"
56 "leak:rtc::HttpResponseData::set_success\n"
57 "leak:rtc::HttpData::changeHeader\n"
58 // https://code.google.com/p/webrtc/issues/detail?id=4149 for details.
59 "leak:StartDNSLookup\n"
60 // https://code.google.com/p/webrtc/issues/detail?id=2527
61 "leak:HangoutPubSubClientTest::HangoutPubSubClientTest\n"
62 "leak:MucRoomConfigTaskTest::SetUp\n"
63 "leak:MucRoomDiscoveryTaskTest::SetUp\n"
64 "leak:MucRoomLookupTaskTest::SetUp\n"
65 "leak:MucRoomUniqueHangoutIdTaskTest::SetUp\n"
66 "leak:PingTaskTest::SetUp\n"
67 "leak:PingXmppClient::SendStanza\n"
68 "leak:PubSubClientTest::PubSubClientTest\n"
69 "leak:PubSubTasksTest::PubSubTasksTest\n"
70
71 // rtc_media_unittests
72 "leak:cricket::FakeNetworkInterface::SetOption\n"
73 "leak:CodecTest_TestCodecOperators_Test::TestBody\n"
74 "leak:VideoEngineTest*::ConstrainNewCodecBody\n"
75 "leak:VideoMediaChannelTest*::AddRemoveRecvStreams\n"
76 "leak:WebRtcVideoCapturerTest_TestCapture_Test::TestBody\n"
77 "leak:WebRtcVideoEngineTestFake_MultipleSendStreamsWithOneCapturer_Test::TestBod y\n"
78 "leak:WebRtcVideoEngineTestFake_SetBandwidthInConference_Test::TestBody\n"
79 "leak:WebRtcVideoEngineTestFake_SetSendCodecsRejectBadFormat_Test::TestBody\n"
80
81 // peerconnection_unittests
82 // https://code.google.com/p/webrtc/issues/detail?id=2528
83 "leak:cricket::FakeVideoMediaChannel::~FakeVideoMediaChannel\n"
84 "leak:cricket::MediaSessionDescriptionFactory::CreateAnswer\n"
85 "leak:cricket::MediaSessionDescriptionFactory::CreateOffer\n"
86 "leak:DtmfSenderTest_InsertEmptyTonesToCancelPreviousTask_Test::TestBody\n"
87 "leak:sigslot::_signal_base2*::~_signal_base2\n"
88 "leak:testing::internal::CmpHelperEQ\n"
89 "leak:webrtc::AudioDeviceLinuxALSA::InitMicrophone\n"
90 "leak:webrtc::AudioDeviceLinuxALSA::InitSpeaker\n"
91 "leak:webrtc::CreateIceCandidate\n"
92 "leak:webrtc::FakeConstraints::AddOptional\n"
93 "leak:webrtc::WebRtcIdentityRequestObserver::OnSuccess\n"
94 "leak:webrtc::WebRtcSessionDescriptionFactory::InternalCreateAnswer\n"
95 "leak:webrtc::WebRtcSessionDescriptionFactory::InternalCreateOffer\n"
96 "leak:PeerConnectionInterfaceTest_SsrcInOfferAnswer_Test::TestBody\n"
97 "leak:PeerConnectionInterfaceTest_CloseAndTestMethods_Test::TestBody\n"
98 "leak:WebRtcSdpTest::TestDeserializeRtcpFb\n"
99 "leak:WebRtcSdpTest::TestSerialize\n"
100 "leak:WebRtcSdpTest_SerializeSessionDescriptionWithDataChannelAndBandwidth_Test: :TestBody\n"
101 "leak:WebRtcSdpTest_SerializeSessionDescriptionWithBandwidth_Test::TestBody\n"
102 "leak:WebRtcSessionTest::SetLocalDescriptionExpectError\n"
103 "leak:WebRtcSessionTest_TestAVOfferWithAudioOnlyAnswer_Test::TestBody\n"
104
105 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS.
106
107 // End of suppressions.
108 ; // Please keep this semicolon.
109
110 #endif // LEAK_SANITIZER
OLDNEW
« no previous file with comments | « webrtc/build/sanitizers/README ('k') | webrtc/build/sanitizers/tsan_suppressions_webrtc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698