mirror of https://github.com/google/oss-fuzz.git
fix nestegg build.sh
This commit is contained in:
parent
2b844f4405
commit
cccb5e9450
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash -eu
|
||||
|
||||
$CXX $CXXFLAGS -o $OUT/fuzz -I./include src/nestegg.c test/fuzz.cc -lFuzzingEngine
|
||||
$CC $CFLAGS -c -I./include src/nestegg.c
|
||||
$CXX $CXXFLAGS -o $OUT/fuzz -I./include nestegg.o test/fuzz.cc -lFuzzingEngine
|
||||
|
||||
|
||||
mkdir corpus/
|
||||
cp -R testdata/*.webm corpus/
|
||||
cp nestegg/test/media/*.webm corpus/
|
||||
cp -R ../testdata/*.webm corpus/
|
||||
cp test/media/*.webm corpus/
|
||||
zip -rj0 $OUT/fuzz_seed_corpus.zip corpus/*.webm
|
||||
|
|
Loading…
Reference in New Issue