summaryrefslogtreecommitdiff
path: root/examples/vpx_dec_fuzzer.cc
AgeCommit message (Collapse)Author
2021-03-04Use -std=gnu++11 instead of -std=c++11Jerome Jiang
Cygwin and msys2 have stricter compliance requirement over standard c headers. Bug: webm:1708 Change-Id: I676b1227b9dd304149e50016468df0f057c6a78f
2020-05-06vpx_dec_fuzzer: add coverage for VP9D_SET_LOOP_FILTER_OPTJames Zern
BUG=chromium:1076203 Change-Id: Ib3339a9fd7d940b69a5ef89b3fbf7f4fdeaac006
2019-06-14vpx_dec_fuzzer: Remove fmemopen dependencyHarish Mahendrakar
fmemopen is not preferred during fuzzing. Removed all file operations. Removed need for allocating a different input buffer. data buffer is appropriately incremented and passed directly to decoder This will also test input being sent in an unaligned buffer to the library. Removed read_frame function and did the required parsing inline. Change-Id: I32829b0149dba9339f2e8bb4c0249a4987a630c7
2019-06-12vpx_dec_fuzzer: Add -fsanitize=fuzzer-no-linkHarish Mahendrakar
Updated build instructions for vpx_dec_fuzzer to include -fsanitize=fuzzer-no-link while configuring library Change-Id: Id158256aa1cfe3d847720e8558cb5998ad4fd777
2019-02-01vpx_dec_fuzzer: Remove dependency on tools_common.cHarish Mahendrakar
Instead of calling get_vpx_decoder_by_name(), derive decoder interface directly. This will avoid dependecy on tools_common and hence any potential updates needed to build fuzzer, when tools_common uses functions defined in a different file With this dependency removed, fuzzer no longer needs to enable examples when building vpx_dec_fuzzer binaries Change-Id: I05753edf041b4bc742a6dc06e809a8a2929d379f
2018-11-14vpx_dec_fuzzer: Unify single and multi-thread testsHarish Mahendrakar
As thread count is now randomized, serial and threaded modes can be combined to a single binary. With this change, threads takes values between 1 to 64 and tests both single thread and multi-thread variants of the decoders Change-Id: I6dd2a3aa03bff9c0e2c126843b543d46892be696
2018-11-14Added libFuzzer plugin to test decodersHarish Mahendrakar
vpx_dec_fuzzer.cc can be built with clang++ to generate fuzzer binary Build instructions are part of the file Change-Id: I19ba0bd49b236e27b27e81a83f6de59f15bdc994