forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathasan_suppressions.cc
29 lines (24 loc) · 1.09 KB
/
asan_suppressions.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2015 The Chromium Authors
// 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. Entries should look, for example, like:
//
// // http://crbug.com/178677
// "interceptor_via_lib:libsqlite3.so\n"
char kASanDefaultSuppressions[] =
// https://crbug.com/1471542 false positive odr violations from Rust code.
"odr_violation:^core::\n"
"odr_violation:^object::\n"
"odr_violation:^serde::\n"
"odr_violation:^serde_json_lenient::\n"
"odr_violation:^std::panicking::\n"
// End of suppressions.
// PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS.
""; // Please keep this semicolon.
#endif // ADDRESS_SANITIZER