diff --git a/vcl/Executable_ppmfuzzer.mk b/vcl/Executable_ppmfuzzer.mk index ee70e598f098..d0909ebba7fa 100644 --- a/vcl/Executable_ppmfuzzer.mk +++ b/vcl/Executable_ppmfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,ppmfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,ppmfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/ppmfuzzer.cxx b/vcl/workben/ppmfuzzer.cxx index a0a3cb475401..21010c3e025d 100644 --- a/vcl/workben/ppmfuzzer.cxx +++ b/vcl/workben/ppmfuzzer.cxx @@ -11,6 +11,29 @@ #include #include "commonfuzzer.hxx" +#include +#include + +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 ipbGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)