Chromium Code Reviews| Index: build/sanitizers/asan_suppressions.cc |
| diff --git a/build/sanitizers/asan_suppressions.cc b/build/sanitizers/asan_suppressions.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..df94bc895032db40ec0518600969babdb129f157 |
| --- /dev/null |
| +++ b/build/sanitizers/asan_suppressions.cc |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// This file contains the default suppressions for AddressSanitizer. |
| +// It should only be used under very limited circumstances such as suppressing |
| +// a report caused by an interceptor call in a system-installed library. |
| + |
| +#if defined(ADDRESS_SANITIZER) |
| + |
| +// Please make sure the code below declares a single string variable |
| +// kASanDefaultSuppressions which contains ASan suppressions delimited by |
| +// newlines. |
| +char kASanDefaultSuppressions[] = |
| +// http://crbug.com/178677 |
| +"interceptor_via_lib:libsqlite3.so\n" |
|
Alexander Potapenko
2015/04/09 10:22:21
Don't we want to make the suppressions OS-specific
|
| + |
| +// PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. |
| + |
| +// End of suppressions. |
| +; // Please keep this semicolon. |
| + |
| +#endif // ADDRESS_SANITIZER |