diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/Executable_jpgfuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/jpgfuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_jpgfuzzer.mk b/vcl/Executable_jpgfuzzer.mk index ab5f09056b31..daa801d45c75 100644 --- a/vcl/Executable_jpgfuzzer.mk +++ b/vcl/Executable_jpgfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,jpgfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,jpgfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/jpgfuzzer.cxx b/vcl/workben/jpgfuzzer.cxx index 5fa270b69e7e..0fe6fc9076ee 100644 --- a/vcl/workben/jpgfuzzer.cxx +++ b/vcl/workben/jpgfuzzer.cxx @@ -11,6 +11,29 @@ #include <../source/filter/jpeg/jpeg.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); |