Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Side by Side Diff: tools/ubsan/blacklist.txt

Issue 978523004: Update UBSAN vptr blacklists to account for startup crashes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add fix for StartPageService startup crash Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 29 matching lines...) Expand all
40 fun:*content*RenderFrameObserverTracker*RenderFrame* 40 fun:*content*RenderFrameObserverTracker*RenderFrame*
41 41
42 # RenderViewObserverTracker<T>::RenderViewObserverTracker() 42 # RenderViewObserverTracker<T>::RenderViewObserverTracker()
43 fun:*content*RenderViewObserverTracker*RenderView* 43 fun:*content*RenderViewObserverTracker*RenderView*
44 44
45 ############################################################################# 45 #############################################################################
46 # Base class's destructor accesses a derived class. 46 # Base class's destructor accesses a derived class.
47 47
48 fun:*DatabaseContext*contextDestroyed* 48 fun:*DatabaseContext*contextDestroyed*
49 49
50 # FIXME: Cannot handle template function LifecycleObserver<>::setContext,
51 # so exclude source file for now.
52 src:*LifecycleObserver.h*
53
50 ############################################################################# 54 #############################################################################
51 # static_cast into itself in the constructor. 55 # static_cast into itself in the constructor.
52 56
53 fun:*RefCountedGarbageCollected*makeKeepAlive* 57 fun:*RefCountedGarbageCollected*makeKeepAlive*
54 fun:*ThreadSafeRefCountedGarbageCollected*makeKeepAlive* 58 fun:*ThreadSafeRefCountedGarbageCollected*makeKeepAlive*
55 59
56 ############################################################################# 60 #############################################################################
57 # Accessing data in destructurors where the class has virtual inheritances. 61 # Accessing data in destructors where the class has virtual inheritances.
58 62
59 type:*content*RenderWidgetHost* 63 type:*content*RenderWidgetHost*
60 64
61 # Mangled name for content::RenderViewHostImpl::~RenderViewHostImpl() 65 # Match mangled name for content::RenderViewHostImpl::~RenderViewHostImpl().
62 fun:*content*RenderViewHostImpl* 66 fun:*content*RenderViewHostImplD*
67 # Match mangled name for content::RenderThreadImpl::~RenderThreadImpl().
68 fun:*content*RenderThreadImplD*
63 69
64 ############################################################################# 70 #############################################################################
65 # Using raw pointer values. 71 # Using raw pointer values.
66 # 72 #
67 # A raw pointer value (16) is used to infer the field offset by 73 # A raw pointer value (16) is used to infer the field offset by
68 # GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET. 74 # GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET.
69 75
70 src:*/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc 76 src:*/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc
71 src:*/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc 77 src:*/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc
72 src:*/third_party/protobuf/src/google/protobuf/descriptor.pb.cc 78 src:*/third_party/protobuf/src/google/protobuf/descriptor.pb.cc
(...skipping 14 matching lines...) Expand all
87 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
88 94
89 # 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'
90 src:*/third_party/libwebm/source/mkvmuxer.cpp 96 src:*/third_party/libwebm/source/mkvmuxer.cpp
91 97
92 # obj/content/libcontent_renderer.a(obj/content/renderer/scheduler/content_rende rer.renderer_scheduler_impl.o)(.data.rel..L__unnamed_399+0x18): error: undefined reference to ' typeinfo for cc::TestNowSource' 98 # obj/content/libcontent_renderer.a(obj/content/renderer/scheduler/content_rende rer.renderer_scheduler_impl.o)(.data.rel..L__unnamed_399+0x18): error: undefined reference to ' typeinfo for cc::TestNowSource'
93 type:*TestNowSource* 99 type:*TestNowSource*
94 100
95 ############################################################################# 101 #############################################################################
96 # UBSan seems to be emit false positives when virtual base classes are 102 # UBSan seems to be emit false positives when virtual base classes are
97 # involved, see e.g. chromium:448102 103 # involved, see e.g. crbug.com/448102.
98 104
99 type:*v8*internal*OFStream* 105 type:*v8*internal*OFStream*
106
107 #############################################################################
108 # UBsan is unable to handle static_cast<A*>(nullptr) and crashes on SIGSEGV.
109 #
110
111 # static_cast<StartPageService*> in StartPageServiceFactory::GetForProfile.
112 type:*StartPageService*
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698