Commit Graph

35 Commits

Author SHA1 Message Date
Michael Niedermayer 2cd2ee63d7
[FFmpeg] Add fuzzers for individual demuxers (#4529)
This should improve coverage of libavformat
2020-10-14 19:15:14 -07:00
Michael Niedermayer e2f566154a
[FFmpeg] Add entry for tools/target_io_dem_fuzzer (#4445)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2020-09-15 08:07:41 -07:00
Michael Niedermayer 2c4e8ca837
[FFmpeg] projects/ffmpeg/build: disable demuxers only used for network protocols (#3942)
Network protocols are disabled during build so it makes no sense to
enable these

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2020-06-06 18:25:28 -07:00
Michael Niedermayer 8cfa643be8
[FFmpeg] Add fate samples for demuxer tests (#3564)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2020-04-01 16:51:53 -07:00
Michael Niedermayer 6089bc488b [FFmpeg] Add fuzzing for bitstream filters (#3096)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2019-12-07 17:56:58 -08:00
Michael Niedermayer 1a908bd175 [ffmpeg] Drop mesa/drm, it does not build due to changes to its build system (#2983)
Fixes issue 18386

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2019-10-27 11:29:31 -07:00
Martin Storsjö edac00ab9e ffmpeg: Build fdk-aac with -fno-sanitize=signed-integer-overflow (#2923)
The upstream fdk-aac project at Fraunhofer currently doesn't
prioritize signed integer overflow issues.
2019-10-08 07:40:52 -07:00
lotharkript d81eb7860e ffmpeg: Remove external Encoder libraries (#2778)
The fuzzer is testing demuxer and decoding.
No need to build and link external encoder libraries for now.
2019-08-29 17:16:53 -07:00
Michael Niedermayer b8bb98260c projects/ffmpeg/build: Disable components during build of libavformat which are not tested (#2601)
This disables network protocol code, muxing and IO device code.
None of this is tested currently.

This reduces the filesize slightly and speeds up build slightly
This could matter if we switch to one binary tool per container format
for testing. Currently it probably doesnt matter much.

We may want to add support for testing muxing in the future but first
good coverage of the input (demuxing) side should be achieved.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2019-07-14 11:50:18 -07:00
Michael Niedermayer c9fd3f45db projects/ffmpeg/build: Add Demuxer fuzzer (#2483)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2019-06-03 08:49:12 -07:00
jonathanmetzman 3049c50d48
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
2019-05-01 11:09:55 -04:00
Janne Grunau 4a14f2cb84 ffmpeg: fix build by using nasm from ubuntu bionic (#2165)
http://www.nasm.us was down for the last couple of days. nasm from
bionic can be used without dependencies. Same change as #2159 for dav1d.
2019-02-14 10:36:47 -08:00
Martin Storsjö 4d1a886356 ffmpeg: Build fdk-aac with -fno-sanitize=shift-base (#1932)
The upstream fdk-aac project at Fraunhofer currently have no active
plans to avoid left shifts of negative values, so disable this
checker to help find other potential issues.
2018-11-07 06:22:01 -08:00
Tristan Matthews 26af3160ad ffmpeg: disable crc checking in libogg (#1896) 2018-10-24 06:36:03 -07:00
James Zern 1b2d1931c8 ffmpeg,build.sh: restrict libvpx frame sizes (#1654)
Restricting the maximum resolution and single allocation size will reduce OOM
frequency.
2018-07-26 18:50:05 +10:00
Oliver Chang 3b03651faf
Add --enable-ossfuzz to ffmpeg configure. 2018-05-30 11:05:13 +10:00
Abhishek Arya 704bca43e4
Fixes #1146 2018-02-15 07:04:51 -08:00
Max Moroz 2ed4429e65 [ffmpeg] Fix missing double quotes in build.sh. 2017-10-31 15:41:19 -07:00
Max Moroz 5d586c44da [ffmpeg] Fix the build and add "--depth 1" to "git clone" commands in Dockerfile (#899). 2017-10-31 15:40:13 -07:00
Max Moroz dba3c1b2e5 [ffmpeg] Fix unbound variable error in build.sh. 2017-08-31 20:15:27 -07:00
Max Moroz 9f2440795f [ffmpeg] Set up LD_LIBRARY_PATH to look up for dependencies in $FFMPEG_DEPS_PATH/lib.
Discovered that missing part while testing https://github.com/google/oss-fuzz/pull/804.
2017-08-31 09:26:21 -07:00
Abhishek Arya 404fce66ab [ffmpeg] Fix build breakage due to nasm >= 2.13. (#620) 2017-05-24 09:56:59 +02:00
Abhishek Arya a83ce13c54 Remove unneeded enable-ossfuzz flag, fixes #568 2017-05-05 13:16:31 -07:00
Kostya Serebryany ed23c7a0c9 ffmpeg: disable ffmpeg's seed corpora, see https://github.com/google/oss-fuzz/issues/567 2017-05-04 14:43:16 -07:00
Kostya Serebryany 9a9514218c better build.sh for ffmpeg 2017-05-04 10:47:39 -07:00
Michael Niedermayer d5ac427bf8 Ffmpeg test all decoders (#559)
* Use ffmpegs build system to build fuzzer

This commit is under Public Domain

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

* ffmpeg: Remove audio/video/subtitle distinction

This commit is under public domain

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>

* ffmpeg: Remove hardcoded list of codecs, test all decoders

This commit is under public domain

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-04-30 17:21:28 -07:00
Max Moroz 7048a709c0 [ffmpeg] Fix #548: use -I${SRC}/ffmpeg when building the fuzzers. 2017-04-25 16:06:51 +02:00
Oliver Chang 1afb735f41 Fix ffmpeg link. Fixes #415 (#416) 2017-02-22 17:31:40 -08:00
Abhishek Arya 499690c55f Enable UBSan without vptr for ffmpeg, disable vptr for libFuzzer. (#404) 2017-02-17 23:13:50 -08:00
Max Moroz 832d367dc6 [ffmpeg] Fix renamed fuzz target source code file (#338). 2017-01-31 15:13:31 +01:00
Mike Aizatsky 14e613045f [ffmpeg] more undefined vars 2016-12-28 10:31:50 -08:00
Mike Aizatsky 64f8b6593d [ffmpeg] LDFLAGS is not present 2016-12-27 16:22:12 -08:00
Mike Aizatsky 3dd707ed58 [infra] using -lFuzzingEngine instead of -lfuzzer 2016-12-07 11:41:08 -08:00
Mike Aizatsky 879120437d [infra] build.sh cleanup 2016-11-29 11:33:42 -08:00
Mike Aizatsky a143b9b39a [infra] renaming targets/ to projects/ 2016-11-29 10:55:25 -08:00