diff options
-rw-r--r-- | vcl/Executable_lwpfuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/lwpfuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_lwpfuzzer.mk b/vcl/Executable_lwpfuzzer.mk index dcf48e4a26b1..f5148e12525a 100644 --- a/vcl/Executable_lwpfuzzer.mk +++ b/vcl/Executable_lwpfuzzer.mk @@ -34,7 +34,6 @@ $(eval $(call gb_Executable_use_libraries,lwpfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,lwpfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/lwpfuzzer.cxx b/vcl/workben/lwpfuzzer.cxx index 5a10861f1cdb..76819a711b89 100644 --- a/vcl/workben/lwpfuzzer.cxx +++ b/vcl/workben/lwpfuzzer.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 TestImportLWP(SvStream &rStream); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) |