diff options
-rw-r--r-- | vcl/Executable_tgafuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/tgafuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_tgafuzzer.mk b/vcl/Executable_tgafuzzer.mk index e9c3c5d2117c..a53da7c7e539 100644 --- a/vcl/Executable_tgafuzzer.mk +++ b/vcl/Executable_tgafuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,tgafuzzer,\ $(eval $(call gb_Executable_use_static_libraries,tgafuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/tgafuzzer.cxx b/vcl/workben/tgafuzzer.cxx index 4ac9bd19a788..d0c9e0a0a202 100644 --- a/vcl/workben/tgafuzzer.cxx +++ b/vcl/workben/tgafuzzer.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 itgGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) |