summaryrefslogtreecommitdiffstats
path: root/tools/ubsan
diff options
context:
space:
mode:
authorAbhishek Arya <inferno@chromium.org>2015-03-04 11:16:59 -0800
committerAbhishek Arya <inferno@chromium.org>2015-03-04 19:19:10 +0000
commit5f5661cc03d0f1f1feb5de252883d01ab82c187c (patch)
treecaabfe38382ebc43644c47ed7557eec7e53c3d76 /tools/ubsan
parent852c31238ebdec699b953a6b3d99290a6c9a737a (diff)
downloadchromium_src-5f5661cc03d0f1f1feb5de252883d01ab82c187c.zip
chromium_src-5f5661cc03d0f1f1feb5de252883d01ab82c187c.tar.gz
chromium_src-5f5661cc03d0f1f1feb5de252883d01ab82c187c.tar.bz2
Update UBSAN vptr blacklists to account for startup crashes.
R=mbarbella@chromium.org BUG= Review URL: https://codereview.chromium.org/978523004 Cr-Commit-Position: refs/heads/master@{#319098}
Diffstat (limited to 'tools/ubsan')
-rw-r--r--tools/ubsan/blacklist.txt21
1 files changed, 17 insertions, 4 deletions
diff --git a/tools/ubsan/blacklist.txt b/tools/ubsan/blacklist.txt
index 5b4751f..29a2b3a 100644
--- a/tools/ubsan/blacklist.txt
+++ b/tools/ubsan/blacklist.txt
@@ -47,6 +47,10 @@ fun:*content*RenderViewObserverTracker*RenderView*
fun:*DatabaseContext*contextDestroyed*
+# FIXME: Cannot handle template function LifecycleObserver<>::setContext,
+# so exclude source file for now.
+src:*LifecycleObserver.h*
+
#############################################################################
# static_cast into itself in the constructor.
@@ -54,12 +58,14 @@ fun:*RefCountedGarbageCollected*makeKeepAlive*
fun:*ThreadSafeRefCountedGarbageCollected*makeKeepAlive*
#############################################################################
-# Accessing data in destructurors where the class has virtual inheritances.
+# Accessing data in destructors where the class has virtual inheritances.
type:*content*RenderWidgetHost*
-# Mangled name for content::RenderViewHostImpl::~RenderViewHostImpl()
-fun:*content*RenderViewHostImpl*
+# Match mangled name for content::RenderViewHostImpl::~RenderViewHostImpl().
+fun:*content*RenderViewHostImplD*
+# Match mangled name for content::RenderThreadImpl::~RenderThreadImpl().
+fun:*content*RenderThreadImplD*
#############################################################################
# Using raw pointer values.
@@ -94,6 +100,13 @@ type:*TestNowSource*
#############################################################################
# UBSan seems to be emit false positives when virtual base classes are
-# involved, see e.g. chromium:448102
+# involved, see e.g. crbug.com/448102.
type:*v8*internal*OFStream*
+
+#############################################################################
+# UBsan is unable to handle static_cast<A*>(nullptr) and crashes on SIGSEGV.
+#
+
+# static_cast<StartPageService*> in StartPageServiceFactory::GetForProfile.
+type:*StartPageService*