[FFmpeg-devel] [PATCH 0/3] Finish new iteration APIs

Michael Niedermayer michael at niedermayer.cc
Wed Feb 21 15:04:35 EET 2018


On Wed, Feb 21, 2018 at 04:04:15PM +0700, Muhammad Faiz wrote:
> On Tue, Feb 20, 2018 at 2:30 AM, Michael Niedermayer
> <michael at niedermayer.cc> wrote:
> > On Sun, Feb 18, 2018 at 05:58:16PM +0000, Josh de Kock wrote:
> >> This should be the last of the major API changes. I'm not entirely
> >> sure if I missed anything.
> >
> > Moving from a register based system where a user app can register
> > any subset to a system which registers all via an array will
> > increase the size of statically linked binaries for users only
> > using a subset.
> >
> > An example of this effect for codecs is tools/target_dec_fuzzer.c
> 
> Just an idea.
> Is it possible to generate just one executable to fuzz all decoders?

I suggested this last year already:
https://github.com/google/oss-fuzz/pull/559#issuecomment-298438415

From what i remember, this suggestion was not favoured

IIRC, after this we then eliminated all parts that can be and used 
the  linker with registering just the needed components to reduce the
size to within the constraints



> The target decoder can be added as an argument or environment variable.
> e.g: ./fuzzer --target aac
> or FUZZER_TARGET=aac ./fuzzer
> 
> With this approach, we can save lot of disk space.

ffmpeg-devel really is the wrong place to discuss this.
The best bet is probably just to implement it (make sure it works, existing
testcases still reproduce issues, stack traces still are useable, ...)
and send a pull request to ossfuzz (with a CC to me or ffmpeg-devel)

Iam not able to say yes or no to this as i simply do not know why some
of the preferrances in the design exist.

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you fake or manipulate statistics in a paper in physics you will never
get a job again.
If you fake or manipulate statistics in a paper in medicin you will get
a job for life at the pharma industry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180221/5424407f/attachment.sig>


More information about the ffmpeg-devel mailing list