For more info, see http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer BUG=webrtc:5124 TESTED=Passing compilation using: GYP_DEFINES="ubsan=1" webrtc/build/gyp_webrtc && ninja -C out/Release GYP_DEFINES="ubsan_vptr=1" webrtc/build/gyp_webrtc && ninja -C out/Release R=pbos@webrtc.org Review URL: https://codereview.webrtc.org/1418213005 . Cr-Commit-Position: refs/heads/master@{#10429}
23 lines
979 B
Plaintext
23 lines
979 B
Plaintext
#############################################################################
|
|
# 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 WebRTC-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.
|
|
|
|
src:*/third_party/protobuf/src/google/protobuf/compiler/plugin.pb.cc
|
|
src:*/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_message.cc
|
|
src:*/third_party/protobuf/src/google/protobuf/descriptor.pb.cc
|
|
|