blob: 3031ca8af3fc17dc137adca763168ead6ffcfcf0 [file] [log] [blame]
#!/bin/bash -eu
$CC $CFLAGS -c -I./include src/nestegg.c
$CXX $CXXFLAGS -o $OUT/fuzz -I./include nestegg.o test/fuzz.cc $LIB_FUZZING_ENGINE
mkdir corpus/
cp -R ../testdata/*.webm corpus/
cp test/media/*.webm corpus/
zip -rj0 $OUT/fuzz_seed_corpus.zip corpus/*.webm