-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Share code with encode_decode such that the corpus can be reused. Bit-depth is decoded last so that all other parameters are shared.
- Loading branch information
Showing
4 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// Copyright (c) 2019-2021, The rav1e contributors. All rights reserved | ||
// | ||
// This source code is subject to the terms of the BSD 2 Clause License and | ||
// the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License | ||
// was not distributed with this source code in the LICENSE file, you can | ||
// obtain it at www.aomedia.org/license/software. If the Alliance for Open | ||
// Media Patent License 1.0 was not distributed with this source code in the | ||
// PATENTS file, you can obtain it at www.aomedia.org/license/patent. | ||
|
||
#![no_main] | ||
#[macro_use] extern crate libfuzzer_sys; | ||
extern crate rav1e; | ||
use rav1e::fuzzing::*; | ||
|
||
fuzz_target!(|data: DecodeTestParameters<u16>| { | ||
let _ = pretty_env_logger::try_init(); | ||
|
||
fuzz_encode_decode(data) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters