mirror of https://github.com/google/oss-fuzz.git
Disable UBSan function on harfbuzz to avoid void* cast crashes. (#407)
* Disable UBSan function on harfbuzz to avoid crashes with void* casts.
This commit is contained in:
parent
f8633efd93
commit
b4fb5be589
|
@ -15,9 +15,11 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# Disable UBSan vptr since target built with -fno-rtti.
|
||||
export CFLAGS="$CFLAGS -fno-sanitize=vptr"
|
||||
export CXXFLAGS="$CXXFLAGS -fno-sanitize=vptr"
|
||||
# Disable:
|
||||
# 1. UBSan vptr since target built with -fno-rtti.
|
||||
# 2. UBSan function to avoid crashes with void* cast crashes.
|
||||
export CFLAGS="$CFLAGS -fno-sanitize=function,vptr"
|
||||
export CXXFLAGS="$CXXFLAGS -fno-sanitize=function,vptr"
|
||||
|
||||
# Build the library.
|
||||
./autogen.sh
|
||||
|
|
Loading…
Reference in New Issue