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

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

Issue 405643002: Blacklist for UBsan's vptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
(Empty)
1 #############################################################################
2 # Identical layouts.
3 # If base and derived classes have identifical memory layouts (i.e., the same
4 # object size) and both have no virtual functions, we blacklist them as there
5 # would be not much security implications.
6
7 fun:*LifecycleNotifier*addObserver*
8 fun:*LifecycleNotifier*removeObserver*
9 fun:*toWebInputElement*
10 type:*base*MessageLoopForIO*
11 type:*BlockRefType*
12 type:*SkAutoTUnref*
13 type:*WDResult*
14 type:*WebCore*ExecutionContext*
15 type:*blink*WebInputElement*
16 type:*blink*WebFormControlElement*
17
18 # Avoid identical layout cases for 86 different classes in InspectorTypeBuilder,
19 # all of which are guarded using COMPILER_ASSERT on the object size. Two more
20 # types are also blacklisted due to the template class (JSONArray <-> Array<T>).
21
22 src:*InspectorTypeBuilder.h*
23 type:*WebCore*TypeBuilder*
24 type:*WebCore*JSONArray*
25
26 #############################################################################
27 # Base class's constructor accesses a derived class's member.
28
29 fun:*DoublyLinkedListNode*
30 type:*content*WebUIExtensionData*
31 type:*v8*internal*CompilationInfo*
32
33 # RenderFrameObserverTracker<T>::RenderFrameObserverTracker()
34 fun:_ZN7content*RenderFrameObserverTracker*EC2EPKNS*RenderFrameE
35
36 # RenderFrameObserverTracker<T>::RenderFrameObserverTracker()
37 fun:_ZN7content*RenderViewObserverTracker*EC2EPKNS*RenderViewE
38
39 #############################################################################
40 # Base class's destructor accesses a derived class.
41
42 fun:*DatabaseContext*contextDestroyed*
43
44 #############################################################################
45 # static_cast into itself in the constructor.
46
47 fun:*RefCountedGarbageCollected*makeKeepAlive*
48
49 #############################################################################
50 # Accessing data in destructurors where the class has virtual inheritances.
51
52 type:*content*RenderWidgetHost*
53
54 # Mangled name for content::RenderViewHostImpl::~RenderViewHostImpl()
55 fun:_ZN7content18RenderViewHostImplD2Ev
56
57 #############################################################################
58 # Using raw pointer values.
59 #
60 # A raw pointer value (16) is used to infer the field offset by
61 # GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET.
62
63 src:*/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc
64 src:*/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc
65 src:*/third_party/protobuf/src/google/protobuf/descriptor.pb.cc
66
67 #############################################################################
68 # Avoid link errors.
69 # Ubsan vptr needs typeinfo on the target class, but it looks like typeinfo is
70 # not avaiable if the class is not exported. For now, simply blacklisted to
71 # avoid linke errors; e.g., undefined reference to 'typeinfo for [CLASS_NAME]'.
aarya 2014/07/18 17:25:21 s/linke/link
72
73 # obj/ppapi/libppapi_proxy.a(obj/ppapi/proxy/ppapi_proxy.proxy_channel.o):../../ ppapi/proxy/proxy_channel.cc:__unnamed_53: error: undefined reference to 'typein fo for IPC::TestSink'
74 src:*/ppapi/proxy/proxy_channel.cc
75
76 # obj/chrome/libbrowser.a(obj/chrome/browser/net/browser.predictor.o):../../chro me/browser/net/predictor.cc:__unnamed_577: error: undefined reference to 'typein fo for ProxyAdvisor'
77 src:*/chrome/browser/net/predictor.cc
78
79 # obj/third_party/pdfium/libfpdfapi.a(obj/third_party/pdfium/core/src/fpdfapi/fp df_render/fpdfapi.fpdf_render_text.o):../../third_party/pdfium/core/src/fpdfapi/ fpdf_render/:__unnamed_360: error: undefined reference to 'typeinfo for CPDF_Inl ineImages'
80 src:*/third_party/pdfium/core/src/fpdfapi/fpdf_render/fpdf_render_text.cpp
81
82 # 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'
83 src:*/third_party/libwebm/source/mkvmuxer.cpp
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