mirror of https://github.com/google/oss-fuzz.git
parent
b1c75b4e8b
commit
402f3a1fb1
|
@ -42,6 +42,7 @@ cd $SRC/flac/
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
if [[ $CFLAGS = *sanitize=memory* ]]
|
if [[ $CFLAGS = *sanitize=memory* ]]
|
||||||
then
|
then
|
||||||
|
export CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=0"
|
||||||
LD_LIBRARY_PATH="$SRC/libogg-install/lib" ./configure --with-ogg="$SRC/libogg-install" --enable-static --disable-shared --disable-oggtest --disable-examples --disable-xmms-plugin --disable-asm-optimizations --disable-sse --enable-oss-fuzzers
|
LD_LIBRARY_PATH="$SRC/libogg-install/lib" ./configure --with-ogg="$SRC/libogg-install" --enable-static --disable-shared --disable-oggtest --disable-examples --disable-xmms-plugin --disable-asm-optimizations --disable-sse --enable-oss-fuzzers
|
||||||
else
|
else
|
||||||
LD_LIBRARY_PATH="$SRC/libogg-install/lib" ./configure --with-ogg="$SRC/libogg-install" --enable-static --disable-shared --disable-oggtest --disable-examples --disable-xmms-plugin --enable-oss-fuzzers
|
LD_LIBRARY_PATH="$SRC/libogg-install/lib" ./configure --with-ogg="$SRC/libogg-install" --enable-static --disable-shared --disable-oggtest --disable-examples --disable-xmms-plugin --enable-oss-fuzzers
|
||||||
|
@ -60,7 +61,7 @@ make -j$(nproc)
|
||||||
|
|
||||||
# Copy decoder fuzzers
|
# Copy decoder fuzzers
|
||||||
cd $SRC/flac/oss-fuzz
|
cd $SRC/flac/oss-fuzz
|
||||||
cp fuzzer_decoder fuzzer_seek $OUT
|
cp fuzzer_decoder fuzzer_seek fuzzer_metadata $OUT
|
||||||
cp fuzzer_*.dict $OUT
|
cp fuzzer_*.dict $OUT
|
||||||
cd $SRC
|
cd $SRC
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue