OLD | NEW |
1 ############################################################################# | 1 ############################################################################# |
2 # UBSan vptr blacklist. | 2 # UBSan vptr blacklist. |
3 # Function and type based blacklisting use a mangled name, and it is especially | 3 # Function and type based blacklisting use a mangled name, and it is especially |
4 # tricky to represent C++ types. For now, any possible changes by name manglings | 4 # tricky to represent C++ types. For now, any possible changes by name manglings |
5 # are simply represented as wildcard expressions of regexp, and thus it might be | 5 # are simply represented as wildcard expressions of regexp, and thus it might be |
6 # over-blacklisted. | 6 # over-blacklisted. |
7 | 7 |
8 ############################################################################# | 8 ############################################################################# |
9 # Identical layouts. | 9 # Identical layouts. |
10 # If base and derived classes have identifical memory layouts (i.e., the same | 10 # If base and derived classes have identifical memory layouts (i.e., the same |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 src:*/third_party/pdfium/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp | 93 src:*/third_party/pdfium/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp |
94 | 94 |
95 # obj/third_party/libwebm/libwebm.a(obj/third_party/libwebm/source/libwebm.mkvmu
xer.o)(.data.rel..L__unnamed_2+0x18): error: undefined reference to 'typeinfo fo
r mkvparser::IMkvReader' | 95 # obj/third_party/libwebm/libwebm.a(obj/third_party/libwebm/source/libwebm.mkvmu
xer.o)(.data.rel..L__unnamed_2+0x18): error: undefined reference to 'typeinfo fo
r mkvparser::IMkvReader' |
96 src:*/third_party/libwebm/source/mkvmuxer.cpp | 96 src:*/third_party/libwebm/source/mkvmuxer.cpp |
97 | 97 |
98 ############################################################################# | 98 ############################################################################# |
99 # LLVM is not UBSan vptr clean. | 99 # LLVM is not UBSan vptr clean. |
100 src:*third_party/swiftshader/third_party/LLVM* | 100 src:*third_party/swiftshader/third_party/LLVM* |
101 | 101 |
102 ############################################################################# | 102 ############################################################################# |
| 103 # UBSan yields false positives in libEGL when objects created in libGLESv2 |
| 104 # from classes derived from libEGL base classes are used within libEGL. |
| 105 # UBSan wrongly detects that the libGLESv2 classes are not derived from libEGL |
| 106 # classes because libEGL doesn't know about libGLESv2 classes. |
| 107 # See crbug.com/722349. |
| 108 type:*egl*Context* |
| 109 type:*egl*Surface* |
| 110 type:*gl*Object* |
| 111 type:*sw*FrameBuffer* |
| 112 |
| 113 ############################################################################# |
103 # UBSan seems to be emit false positives when virtual base classes are | 114 # UBSan seems to be emit false positives when virtual base classes are |
104 # involved, see e.g. crbug.com/448102. | 115 # involved, see e.g. crbug.com/448102. |
105 | 116 |
106 type:*v8*internal*OFStream* | 117 type:*v8*internal*OFStream* |
107 | 118 |
108 ############################################################################# | 119 ############################################################################# |
109 # UBsan is unable to handle static_cast<A*>(nullptr) and crashes on SIGSEGV. | 120 # UBsan is unable to handle static_cast<A*>(nullptr) and crashes on SIGSEGV. |
110 # | 121 # |
111 | 122 |
112 # static_cast<StartPageService*> in StartPageServiceFactory::GetForProfile. | 123 # static_cast<StartPageService*> in StartPageServiceFactory::GetForProfile. |
113 type:*StartPageService* | 124 type:*StartPageService* |
114 | 125 |
115 # Remove once function attribute level blacklisting is implemented. | 126 # Remove once function attribute level blacklisting is implemented. |
116 # See crbug.com/476063. | 127 # See crbug.com/476063. |
117 fun:*forbidGCDuringConstruction* | 128 fun:*forbidGCDuringConstruction* |
118 | 129 |
119 ############################################################################# | 130 ############################################################################# |
120 # UBsan goes into an infinite recursion when __dynamic_cast instrumented with | 131 # UBsan goes into an infinite recursion when __dynamic_cast instrumented with |
121 # "vptr". See crbug.com/609786. | 132 # "vptr". See crbug.com/609786. |
122 | 133 |
123 src:*/third_party/libc\+\+abi/trunk/src/private_typeinfo.cpp | 134 src:*/third_party/libc\+\+abi/trunk/src/private_typeinfo.cpp |
124 | 135 |
125 ############################################################################# | 136 ############################################################################# |
126 # invalid downcasts for IPC messages | 137 # invalid downcasts for IPC messages |
127 # https://crbug.com/520760 | 138 # https://crbug.com/520760 |
128 src:*nacl_message_scanner.cc | 139 src:*nacl_message_scanner.cc |
OLD | NEW |