Commit 373f9d32 authored by Jakob Kummerow's avatar Jakob Kummerow Committed by Commit Bot

[ubsan] Blacklist reports for *CallbackInfo

Both PropertyCallbackInfo<T> and WeakCallbackInfo<T> callbacks are
using a design that relies on invalid reinterpret_casts and thereby
undefined behavior. Since they are exposed via the public API, fixing
this is going to be difficult.

Bug: v8:3770,v8:8735
Change-Id: I7171c5b38f070b4a43a0de1ebb7d1a1458c1d91f
Reviewed-on: https://chromium-review.googlesource.com/c/1436222Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59083}
parent bdf8780f
...@@ -4,3 +4,12 @@ ...@@ -4,3 +4,12 @@
# UBSan bug, fixed in LLVM r350779. Drop this suppression when that # UBSan bug, fixed in LLVM r350779. Drop this suppression when that
# revision has rolled into Chromium's bundled Clang. # revision has rolled into Chromium's bundled Clang.
fun:*v8*internal*NewArray* fun:*v8*internal*NewArray*
# Bug 8735: PropertyCallbackInfo<void> vs PropertyCallbackInfo<T>.
fun:*v8*internal*PropertyCallbackArguments*CallAccessorSetter*
fun:*v8*internal*PropertyCallbackArguments*BasicCallNamedGetterCallback*
fun:*v8*internal*InvokeAccessorGetterCallback*
# Bug 8735: WeakCallbackInfo<void> vs. WeakCallbackInfo<T>.
fun:*v8*internal*GlobalHandles*PendingPhantomCallback*Invoke*
fun:*v8*internal*GlobalHandles*Node*PostGarbageCollectionProcessing*
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment