projects/ffmpeg/build: Add Demuxer fuzzer (#2483)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2019-06-03 17:49:12 +02:00 committed by jonathanmetzman
parent 68d71e179c
commit c9fd3f45db
1 changed files with 6 additions and 0 deletions

View File

@ -203,6 +203,12 @@ for c in $CONDITIONALS ; do
mv tools/target_dec_${symbol}_fuzzer $OUT/${fuzzer_name}
done
# Build fuzzer for demuxer
fuzzer_name=ffmpeg_DEMUXER_fuzzer
echo -en "[libfuzzer]\nmax_len = 1000000\n" > $OUT/${fuzzer_name}.options
make tools/target_dem_fuzzer
mv tools/target_dem_fuzzer $OUT/${fuzzer_name}
# Find relevant corpus in test samples and archive them for every fuzzer.
#cd $SRC
#python group_seed_corpus.py $TEST_SAMPLES_PATH $OUT/