mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1873745 - Fix Dav1d libFuzzer target r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D198177
This commit is contained in:
parent
b538394e02
commit
03b4491aa1
@ -1,9 +1,15 @@
|
||||
|
||||
#include "FuzzingInterface.h"
|
||||
|
||||
namespace dav1dfuzz {
|
||||
#define LLVMFuzzerInitialize Dav1dFuzzerInitialize
|
||||
#define LLVMFuzzerTestOneInput Dav1dFuzzerTestOneInput
|
||||
|
||||
extern "C" {
|
||||
#include "tests/libfuzzer/dav1d_fuzzer.c"
|
||||
}
|
||||
|
||||
MOZ_FUZZING_INTERFACE_RAW(nullptr, dav1dfuzz::LLVMFuzzerTestOneInput,
|
||||
#undef LLVMFuzzerInitialize
|
||||
#undef LLVMFuzzerTestOneInput
|
||||
|
||||
MOZ_FUZZING_INTERFACE_RAW(Dav1dFuzzerInitialize, Dav1dFuzzerTestOneInput,
|
||||
Dav1dDecode);
|
||||
|
Loading…
Reference in New Issue
Block a user