mirror of https://github.com/google/oss-fuzz.git
Fix Skia UBSan vptr issue and enable msan. (#587)
This commit is contained in:
parent
a47307d55d
commit
d3df955ba7
|
@ -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
|
||||
|
||||
|
|
|
@ -2,3 +2,7 @@ homepage: "https://github.com/google/skia"
|
|||
primary_contact: "kjlubick@chromium.org"
|
||||
auto_ccs:
|
||||
- "hcm@chromium.org"
|
||||
sanitizers:
|
||||
- address
|
||||
- undefined
|
||||
- memory
|
||||
|
|
Loading…
Reference in New Issue