summaryrefslogtreecommitdiffstats
path: root/media/libdav1d/test/fuzztest/dav1d_fuzz_adapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/libdav1d/test/fuzztest/dav1d_fuzz_adapter.cpp')
-rw-r--r--media/libdav1d/test/fuzztest/dav1d_fuzz_adapter.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/media/libdav1d/test/fuzztest/dav1d_fuzz_adapter.cpp b/media/libdav1d/test/fuzztest/dav1d_fuzz_adapter.cpp
new file mode 100644
index 0000000000..4a038344a8
--- /dev/null
+++ b/media/libdav1d/test/fuzztest/dav1d_fuzz_adapter.cpp
@@ -0,0 +1,9 @@
+
+#include "FuzzingInterface.h"
+
+namespace dav1dfuzz {
+#include "tests/libfuzzer/dav1d_fuzzer.c"
+}
+
+MOZ_FUZZING_INTERFACE_RAW(nullptr, dav1dfuzz::LLVMFuzzerTestOneInput,
+ Dav1dDecode);