aboutsummaryrefslogtreecommitdiff
path: root/tools_libyuv/ubsan/vptr_blacklist.txt
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2023-08-24 23:19:23 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-08-24 23:19:23 +0000
commitd115f0fc68e29486f2b004c3dd8f116e7ff99966 (patch)
treea843083aa5ff3db8e420e71dd06caec7a676a877 /tools_libyuv/ubsan/vptr_blacklist.txt
parentab07a46ce7e82aab5395ef1ee482a2ebce80a54c (diff)
parent51c4f8dd932db0a2adeec844d5b51d9533f3bc02 (diff)
downloadlibyuv-d115f0fc68e29486f2b004c3dd8f116e7ff99966.tar.gz
Move libyuv/files/ directly under libyuv am: 39ae7d3ed0 am: 51c4f8dd93
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libyuv/+/24529698 Change-Id: I3e51b4f1d7b533317a95bf8f171c8d5717ef6cda Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tools_libyuv/ubsan/vptr_blacklist.txt')
-rw-r--r--tools_libyuv/ubsan/vptr_blacklist.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools_libyuv/ubsan/vptr_blacklist.txt b/tools_libyuv/ubsan/vptr_blacklist.txt
new file mode 100644
index 00000000..23cfca53
--- /dev/null
+++ b/tools_libyuv/ubsan/vptr_blacklist.txt
@@ -0,0 +1,25 @@
+#############################################################################
+# UBSan vptr blacklist.
+# Function and type based blacklisting use a mangled name, and it is especially
+# tricky to represent C++ types. For now, any possible changes by name manglings
+# are simply represented as wildcard expressions of regexp, and thus it might be
+# over-blacklisted.
+#
+# Please think twice before you add or remove these rules.
+#
+# This is a stripped down copy of Chromium's vptr_blacklist.txt, to enable
+# adding libyuv-specific blacklist entries.
+
+#############################################################################
+# Using raw pointer values.
+#
+# A raw pointer value (16) is used to infer the field offset by
+# GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET.
+
+# Example:
+# src:*/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc
+
+#############################################################################
+# UBsan goes into an infinite recursion when __dynamic_cast instrumented with
+# "vptr". See crbug.com/609786.
+src:*/third_party/libc\+\+abi/trunk/src/private_typeinfo.cpp