forked from mirrors/gecko-dev
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 changed files with 8 additions and 2 deletions
|
|
@ -1,9 +1,15 @@
|
||||||
|
|
||||||
#include "FuzzingInterface.h"
|
#include "FuzzingInterface.h"
|
||||||
|
|
||||||
namespace dav1dfuzz {
|
#define LLVMFuzzerInitialize Dav1dFuzzerInitialize
|
||||||
|
#define LLVMFuzzerTestOneInput Dav1dFuzzerTestOneInput
|
||||||
|
|
||||||
|
extern "C" {
|
||||||
#include "tests/libfuzzer/dav1d_fuzzer.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);
|
Dav1dDecode);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue