mirror of https://github.com/google/oss-fuzz.git
Silence unsigned integer overflows in binutils project (#3178)
* Silence unsigned integer overflows in binutils * Use fno-sanitize * Condition on sanitizer
This commit is contained in:
parent
5fdbd83220
commit
7cfb7aab73
|
@ -16,6 +16,10 @@
|
|||
################################################################################
|
||||
|
||||
# build project
|
||||
if [ "$SANITIZER" = undefined ]; then
|
||||
export CFLAGS="$CFLAGS -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow"
|
||||
export CXXFLAGS="$CXXFLAGS -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow"
|
||||
fi
|
||||
cd binutils-gdb
|
||||
./configure --disable-gdb --enable-targets=all
|
||||
make MAKEINFO=true && true
|
||||
|
|
Loading…
Reference in New Issue