1 // Copyright 2015 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This file contains the default suppressions for AddressSanitizer. 6 // It should only be used under very limited circumstances such as suppressing 7 // a report caused by an interceptor call in a system-installed library. 8 9 #if defined(ADDRESS_SANITIZER) 10 11 // Please make sure the code below declares a single string variable 12 // kASanDefaultSuppressions which contains ASan suppressions delimited by 13 // newlines. Entries should look, for example, like: 14 // 15 // // http://crbug.com/178677 16 // "interceptor_via_lib:libsqlite3.so\n" 17 char kASanDefaultSuppressions[] = 18 // https://crbug.com/1471542 false positive odr violations from Rust code. 19 "odr_violation:^core::\n" 20 "odr_violation:^object::\n" 21 "odr_violation:^std::io::\n" 22 "odr_violation:^std::panicking::\n" 23 "odr_violation:^read_fonts::tables::\n" 24 "odr_violation:^std_detect::detect::cache::\n" 25 26 // End of suppressions. 27 // PLEASE READ ABOVE BEFORE ADDING NEW SUPPRESSIONS. 28 ""; // Please keep this semicolon. 29 30 #endif // ADDRESS_SANITIZER 31