summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/Executable_hwpfuzzer.mk1
-rw-r--r--vcl/workben/hwpfuzzer.cxx23
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_hwpfuzzer.mk b/vcl/Executable_hwpfuzzer.mk
index 8e86a966fb04..974cfd62412c 100644
--- a/vcl/Executable_hwpfuzzer.mk
+++ b/vcl/Executable_hwpfuzzer.mk
@@ -34,7 +34,6 @@ $(eval $(call gb_Executable_use_libraries,hwpfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,hwpfuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/hwpfuzzer.cxx b/vcl/workben/hwpfuzzer.cxx
index 3beab7e3ee4d..acff28cdb178 100644
--- a/vcl/workben/hwpfuzzer.cxx
+++ b/vcl/workben/hwpfuzzer.cxx
@@ -11,6 +11,29 @@
#include <vcl/FilterConfigItem.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" bool TestImportHWP(SvStream &rStream);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)