mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
UBSan: Add blacklist files for libyuvC standalone.
For more info, see http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer TESTED=Passing compilation using: GYP_DEFINES="ubsan=1" GYP_DEFINES="ubsan_vptr=1" R=harryjin@google.com, pbos@webrtc.org BUG=libyuv:563,webrtc:5124 Review URL: https://codereview.chromium.org/1659713002 .
This commit is contained in:
parent
9e39c1f271
commit
0e7d2926e2
4
tools/ubsan/OWNERS
Normal file
4
tools/ubsan/OWNERS
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
pbos@webrtc.org
|
||||||
|
kjellander@webrtc.org
|
||||||
|
fbarchard@chromium.org
|
||||||
|
|
||||||
15
tools/ubsan/blacklist.txt
Normal file
15
tools/ubsan/blacklist.txt
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#############################################################################
|
||||||
|
# UBSan blacklist.
|
||||||
|
# Please think twice before you add or remove these rules.
|
||||||
|
|
||||||
|
# This is a stripped down copy of Chromium's blacklist.txt, to enable
|
||||||
|
# adding WebRTC-specific blacklist entries.
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
# YASM does some funny things that UBsan doesn't like.
|
||||||
|
# https://crbug.com/489901
|
||||||
|
src:*/third_party/yasm/*
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
# Ignore system libraries.
|
||||||
|
src:*/usr/*
|
||||||
21
tools/ubsan/vptr_blacklist.txt
Normal file
21
tools/ubsan/vptr_blacklist.txt
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#############################################################################
|
||||||
|
# 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
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user