diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-05-03 23:40:04 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-05-03 23:40:04 +0000 |
commit | c1068d3eb9464eb1e6028869524930c57feb716b (patch) | |
tree | 7aa355fd0b89ec0b2611e17ee84a14c6fa449e22 /tools_libyuv/ubsan/vptr_blacklist.txt | |
parent | ad14b7e1bb4ad1db3cc083b70c9179f86b2e2052 (diff) | |
parent | a270e88f71c875f86ebc612ff3232b204bbc75c9 (diff) | |
download | libyuv-androidx-glance-release.tar.gz |
Merge "Snap for 11801295 from 488a2af021e3e7473f083a9435b1472c0d411f3d to androidx-glance-release" into androidx-glance-releaseandroidx-glance-release
Diffstat (limited to 'tools_libyuv/ubsan/vptr_blacklist.txt')
-rw-r--r-- | tools_libyuv/ubsan/vptr_blacklist.txt | 25 |
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 |