• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!special-case-list-v1
2# TODO(https://crbug.com/1515966): update to glob patterns
3
4# This ignore  list is a merge of ignorelist.txt and vptr_ignorelist.txt.
5
6#############################################################################
7# UBSan ignore list.
8
9#############################################################################
10# YASM does some funny things that UBsan doesn't like.
11# https://crbug.com/489901
12src:*/third_party/yasm/*
13
14#############################################################################
15# V8 gives too many false positives. Ignore them for now.
16src:*/v8/*
17
18#############################################################################
19# Ignore system libraries.
20src:*/usr/*
21
22#############################################################################
23# ICU supressions. Mostly hash functions where integer overflow is OK.
24fun:*hashEntry*
25fun:*LocaleCacheKey*hashCode*
26fun:*google*protobuf*hash*
27fun:*(hash|Hash)*
28
29#############################################################################
30# Bounds ignore list.
31# Array at the end of struct pattern:
32# Maybe UBSan itself can be improved here?
33# e.g.
34# struct blah {
35#   int a;
36#   char foo[2]; // not actually 2
37# }
38src:*/third_party/icu/source/common/rbbi.cpp
39src:*/third_party/icu/source/common/rbbitblb.cpp
40src:*/third_party/icu/source/common/ucmndata.c
41
42#############################################################################
43# UBSan vptr ignore list.
44# Function and type based ignorelisting use a mangled name, and it is
45# especially tricky to represent C++ types. For now, any possible changes by
46# name manglings are simply represented as wildcard expressions of regexp,
47# and thus it might be over-ignorelisted.
48
49#############################################################################
50# UBSan seems to be emit false positives when virtual base classes are
51# involved, see e.g. crbug.com/448102.
52
53type:*v8*internal*OFStream*
54
55#############################################################################
56# UBsan goes into an infinite recursion when __dynamic_cast instrumented with
57# "vptr". See crbug.com/609786.
58
59src:*/third_party/libc\+\+abi/trunk/src/private_typeinfo.cpp
60