Commit Graph

70 Commits

Author SHA1 Message Date
Michael Niedermayer 736aac724b
[FFmpeg] Improve HEVC seeds (#5896)
* [FFmpeg] Fix typo in hevc seed corpus archieve

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

* [FFmpeg] add 80mb additional HEVC seeds

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2021-06-09 09:25:27 +01:00
Michael Niedermayer 2c8b1d47e2
[FFmpeg] remove libXfixes (#5863)
Fixes build (which apparently failed due to incompatibility of unneeded distro
packages being mixed with unneeded git packages)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2021-06-01 19:03:04 +00:00
Michael Niedermayer 8d08348d0e
[FFmpeg] Add small seed corpus for HEVC (#5737)
* [FFmpeg] Add small seed corpus for HEVC

Currently the HEVC coverage is relativly poor, this should improve it

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

* [FFmpeg] Fix typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2021-05-10 13:31:57 +01:00
Michael Niedermayer 1777a33624
[FFmpeg] Only build first 2 targets of each kind for CI (#5741)
Based-on: 0da70e1c01
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2021-05-10 09:46:37 +01:00
Abhishek Arya 95a7b67504
Add main_repo for some more projects. (#4819) 2020-12-10 08:15:05 -08:00
Michael Niedermayer 3725c071d0
[FFmpeg] update git link to libva (#4582)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2020-10-30 23:22:48 -07:00
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
devtty1er d561c49ae5
Update Dockerfiles (#4070)
* Use LABEL in place of MAINTAINER

* Remove LABEL maintainer from Dockerfiles
2020-07-06 13:18:23 -07:00
Abhishek Arya 7101ec4d4b
Add Github Actions CI. (#3971) 2020-06-12 14:39:16 -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 22f384c4fb
[FFmpeg] install rsync as it is required for the seed corpus (#3912)
Fixes: Issue 22500 (build failure)
2020-05-31 13:03:58 -07:00
Michael Niedermayer 5d8e3c96d9
projects/ffmpeg/Dockerfile: Update git URLs for xiph (#3796)
Fixes: 22072

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2020-05-13 12:26:50 -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
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Sylvestre Ledru c9e50868e9
Some Mozilla changes (#3481)
* Refresh the list to have a Mozilla employee with an active account

* Update of the list of nss participants
2020-03-09 08:34:02 -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
Michael Niedermayer ea9ee34d52 [ffmpeg] Add my main email address to the CC (#2873)
It seems mails from ossfuzz are not reliably received on *gmx
(that is michaelni@gmx.at in my case)
They sometimes appear days later or not at all.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2019-09-21 20:08:33 -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
lotharkript 1f658a17bc ffmpeg: Add JB from VideoLan (#2777) 2019-08-29 10:00:28 -07:00
Christoph Diehl 7ed3f375b6 Add Mozilla fuzzing team to auto_cc of their used 3rd party libraries (#2703)
* Add Mozilla fuzzing team to auto_cc of their used 3rd party libraries

* Use new vendor_ccs field in projects.yml (#2703)

* Remove not yet approved projects

* Remove not yet approved projects
2019-08-28 09: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
Michael Niedermayer 806f7995fb ffmpeg: use libvdpau-1.2 (#2200)
This fixes build as later vdpau uses meson and the new build
system seems to have bugs or i failed to get it working quickly with
oss-fuzz

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2019-03-04 08:26:09 -08:00
Michael Niedermayer 7a11112c92 projects/ffmpeg/Dockerfile: Replace alsalib ftp URL by https (#2184)
This avoids using an insecure protocol, also the alsa server does not
seem to work correctly with ftp currently.
This should fix Issue 13270

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-02-26 00:40:33 -08: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
Oliver Chang 69210b4622
Enable selective unpack for ffmpeg (#2161). (#2162) 2019-02-14 10:59:58 +11: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
Oliver Chang 01b5b6bed0
Update Dockerfile 2017-11-01 14:47:57 +11: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
Oliver Chang 3f96f6841f
[ffmpeg] try git repo for ogg (#899) 2017-10-30 11:14:02 +11: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
Kostya Serebryany bdf2abcbd5 Update project.yaml 2017-07-11 11:57:25 -07:00
Max Moroz 058c07e93b [ffmpeg] Add John from Google to auto_ccs list. (#668)
* [ffmpeg] Add John from Google to auto_ccs list.

* Create project.yaml
2017-06-09 13:37:06 -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
Devin Jeanpierre 330386686d Use apt-get update && apt-get install, per best practices: (#561)
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/

I ran into this because I was getting errors locally, like:

    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.18.4ubuntu1.1_all.deb  404  Not Found [IP: 91.189.88.149 80]

It turns out you get these if you don't update, and the official best practices are to `run apt-get update && apt-get install`. In fact, running _any_ apt-get install command without the apt-get update && before it can result in unfortunate caching artifacts -- see "cache busting". (P.S. thanks to Peng on Freenode for helping me, I'm bad at Ubuntu.)

So:
    sed -re \
        's/RUN apt-get ((-y )?(install|build-dep))/RUN apt-get update \&\& apt-get \1/' -i \
        projects/**/Dockerfile

I also manually fixed the cases that already ran apt-get update in their Dockerfile:
    dlplibs/Dockerfile
    grpc/Dockerfile
    libreoffice/Dockerfile
2017-05-01 23:31:02 -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