summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/Executable_giffuzzer.mk1
-rw-r--r--vcl/workben/giffuzzer.cxx23
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_giffuzzer.mk b/vcl/Executable_giffuzzer.mk
index 455e22bccdba..6d0458cba34e 100644
--- a/vcl/Executable_giffuzzer.mk
+++ b/vcl/Executable_giffuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,giffuzzer,\
$(eval $(call gb_Executable_use_static_libraries,giffuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/giffuzzer.cxx b/vcl/workben/giffuzzer.cxx
index 623f9b03a6a1..482099ea807d 100644
--- a/vcl/workben/giffuzzer.cxx
+++ b/vcl/workben/giffuzzer.cxx
@@ -11,6 +11,29 @@
#include <../source/filter/igif/gifread.hxx>
#include "commonfuzzer.hxx"
+#include <config_features.h>
+#include <osl/detail/component-mapping.h>
+
+const lib_to_factory_mapping *
+lo_get_factory_map(void)
+{
+ static lib_to_factory_mapping map[] = {
+ { 0, 0 }
+ };
+
+ return map;
+}
+
+const lib_to_constructor_mapping *
+lo_get_constructor_map(void)
+{
+ static lib_to_constructor_mapping map[] = {
+ { 0, 0 }
+ };
+
+ return map;
+}
+
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
{
TypicalFuzzerInitialize(argc, argv);