• Michael Niedermayer's avatar
    avcodec/allcodecs: Provide empty codec_list in allcodecs when ossfuzz is used · 42f40d36
    Michael Niedermayer authored
    The last workaround is not sufficient to make oss fuzz work with the iterate API
    as it did not provide a FFmpeg that external libs can be linked to.
    
    This patch does not fully restore the pre iterate functionality. My attempts to
    do this have so far failed.
    
    The problem with this solution is that it renders the fuzzers virtual system
    ffmpeg (libs) non functional. Which differs from a real system compared to the
    virtual system tested by the fuzzer.
    It should theoretically not matter as the system ffmpeg wouldnt be used.
    But with more cases being fuzzed we likely will hit a case where a external
    lib is involved and it does matter ...
    
    Working around this may be possible with weak symbols but so far my attempts
    failed
    
    Alternatively multiple ffmpeg could be built, this becomes messy though
    quickly as they need to be all linked together. That is we need a FFmpeg
    that has the iterate API modified so it can work with the resources
    available to ossfuzz. And at the same time we need a ffmpeg that has
    its full functionality for any external libs which use ffmpeg and are
    used by ffmpeg.
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    42f40d36
Name
Last commit
Last update
..
.gitignore Loading commit data...
Makefile Loading commit data...
aviocat.c Loading commit data...
bisect-create Loading commit data...
bookmarklets.html Loading commit data...
cl2c Loading commit data...
clean-diff Loading commit data...
coverity.c Loading commit data...
crypto_bench.c Loading commit data...
cws2fws.c Loading commit data...
dvd2concat Loading commit data...
enum_options.c Loading commit data...
ffescape.c Loading commit data...
ffeval.c Loading commit data...
ffhash.c Loading commit data...
fourcc2pixfmt.c Loading commit data...
gen-rc Loading commit data...
graph2dot.c Loading commit data...
ismindex.c Loading commit data...
libav-merge-next-commit Loading commit data...
loudnorm.rb Loading commit data...
make_chlayout_test Loading commit data...
missing_codec_desc Loading commit data...
murge Loading commit data...
normalize.py Loading commit data...
patcheck Loading commit data...
pktdumper.c Loading commit data...
plotframes Loading commit data...
probetest.c Loading commit data...
qt-faststart.c Loading commit data...
seek_print.c Loading commit data...
sidxindex.c Loading commit data...
sofa2wavs.c Loading commit data...
target_dec_fuzzer.c Loading commit data...
trasher.c Loading commit data...
uncoded_frame.c Loading commit data...
unwrap-diff Loading commit data...
yuvcmp.c Loading commit data...
zmqsend.c Loading commit data...
zmqshell.py Loading commit data...