| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file contains the default suppressions for LeakSanitizer. | 5 // This file contains the default suppressions for LeakSanitizer. |
| 6 // You can also pass additional suppressions via LSAN_OPTIONS: | 6 // You can also pass additional suppressions via LSAN_OPTIONS: |
| 7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to | 7 // LSAN_OPTIONS=suppressions=/path/to/suppressions. Please refer to |
| 8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info. | 8 // http://dev.chromium.org/developers/testing/leaksanitizer for more info. |
| 9 | 9 |
| 10 #if defined(LEAK_SANITIZER) | 10 #if defined(LEAK_SANITIZER) |
| 11 | 11 |
| 12 // Please make sure the code below declares a single string variable | 12 // Please make sure the code below declares a single string variable |
| 13 // kLSanDefaultSuppressions which contains LSan suppressions delimited by | 13 // kLSanDefaultSuppressions which contains LSan suppressions delimited by |
| 14 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer | 14 // newlines. See http://dev.chromium.org/developers/testing/leaksanitizer |
| 15 // for the instructions on writing suppressions. | 15 // for the instructions on writing suppressions. |
| 16 char kLSanDefaultSuppressions[] = | 16 char kLSanDefaultSuppressions[] = |
| 17 // Intentional leak used as sanity test for Valgrind/memcheck. | 17 // Intentional leak used as sanity test for Valgrind/memcheck. |
| 18 "leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody\n" | 18 "leak:base::ToolsSanityTest_MemoryLeak_Test::TestBody\n" |
| 19 | 19 |
| 20 // ================ Leaks in third-party code ================ | 20 // ================ Leaks in third-party code ================ |
| 21 | 21 |
| 22 // False positives in libfontconfig. http://crbug.com/39050 | 22 // False positives in libfontconfig. http://crbug.com/39050 |
| 23 "leak:libfontconfig\n" | 23 "leak:libfontconfig\n" |
| 24 | 24 |
| 25 // Leaks in Nvidia's libGL. | 25 // Leaks in Nvidia's libGL. |
| 26 "leak:libGL.so\n" | 26 "leak:libGL.so\n" |
| 27 | 27 |
| 28 // TODO(earthdok): revisit NSS suppressions after the switch to BoringSSL | 28 // TODO(eugenis): revisit NSS suppressions after the switch to BoringSSL |
| 29 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988 | 29 // NSS leaks in CertDatabaseNSSTest tests. http://crbug.com/51988 |
| 30 "leak:net::NSSCertDatabase::ImportFromPKCS12\n" | 30 "leak:net::NSSCertDatabase::ImportFromPKCS12\n" |
| 31 "leak:net::NSSCertDatabase::ListCerts\n" | 31 "leak:net::NSSCertDatabase::ListCerts\n" |
| 32 "leak:net::NSSCertDatabase::DeleteCertAndKey\n" | 32 "leak:net::NSSCertDatabase::DeleteCertAndKey\n" |
| 33 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n" | 33 "leak:crypto::ScopedTestNSSDB::ScopedTestNSSDB\n" |
| 34 // Another leak due to not shutting down NSS properly. http://crbug.com/124445 | 34 // Another leak due to not shutting down NSS properly. http://crbug.com/124445 |
| 35 "leak:error_get_my_stack\n" | 35 "leak:error_get_my_stack\n" |
| 36 // The NSS suppressions above will not fire when the fast stack unwinder is | 36 // The NSS suppressions above will not fire when the fast stack unwinder is |
| 37 // used, because it can't unwind through NSS libraries. Apply blanket | 37 // used, because it can't unwind through NSS libraries. Apply blanket |
| 38 // suppressions for now. | 38 // suppressions for now. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 // http://crbug.com/356306 | 76 // http://crbug.com/356306 |
| 77 "leak:content::SetProcessTitleFromCommandLine\n" | 77 "leak:content::SetProcessTitleFromCommandLine\n" |
| 78 | 78 |
| 79 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. | 79 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. |
| 80 | 80 |
| 81 // End of suppressions. | 81 // End of suppressions. |
| 82 ; // Please keep this semicolon. | 82 ; // Please keep this semicolon. |
| 83 | 83 |
| 84 #endif // LEAK_SANITIZER | 84 #endif // LEAK_SANITIZER |
| OLD | NEW |