Fix Skia UBSan vptr issue and enable msan. (#587)

This commit is contained in:
Abhishek Arya 2017-05-09 23:23:47 -07:00 committed by GitHub
parent a47307d55d
commit d3df955ba7
2 changed files with 10 additions and 1 deletions

View File

@ -15,6 +15,10 @@
#
################################################################################
# Disable UBSan vptr since target built with -fno-rtti.
export CFLAGS="$CFLAGS -fno-sanitize=vptr"
export CXXFLAGS="$CXXFLAGS -fno-sanitize=vptr"
# This splits a space separated list into a quoted, comma separated list for gn.
export CXXFLAGS_ARR=`echo $CXXFLAGS | sed -e "s/\s/\",\"/g"`
$SRC/depot_tools/gn gen out/Fuzz\
@ -31,4 +35,5 @@ $SRC/depot_tools/gn gen out/Fuzz\
$SRC/depot_tools/ninja -C out/Fuzz fuzz_region_deserialize
cp out/Fuzz/fuzz_region_deserialize $OUT/region_deserialize
cp ./region_deserialize.options $OUT/region_deserialize.options
cp ./region_deserialize.options $OUT/region_deserialize.options

View File

@ -2,3 +2,7 @@ homepage: "https://github.com/google/skia"
primary_contact: "kjlubick@chromium.org"
auto_ccs:
- "hcm@chromium.org"
sanitizers:
- address
- undefined
- memory