aboutsummaryrefslogtreecommitdiff
path: root/tools_libyuv/ubsan/vptr_blacklist.txt
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2023-08-28 15:48:16 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-08-28 15:48:16 +0000
commit38cc49a9243a8532cbb32b733f9ac1592e9e62e3 (patch)
tree5d9b28c2e73f9d5e76d9556181a6cf73ac4bd182 /tools_libyuv/ubsan/vptr_blacklist.txt
parent12219ef4229dc1e24b5c8ed0d5c1dedc7f16cc9a (diff)
parent08f747f785e3032936ed9357560bc0ad39658287 (diff)
downloadlibyuv-38cc49a9243a8532cbb32b733f9ac1592e9e62e3.tar.gz
Merge "Move libyuv/files/ directly under libyuv" into main am: 08f747f785
Original change: https://android-review.googlesource.com/c/platform/external/libyuv/+/2727019 Change-Id: Iebd6d95c7e80fed14d81d28a61d0c23d7bef36e1 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