diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-15 16:59:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-15 16:59:24 +0100 |
commit | e74586f8d1be766a9ba90689f017143c1eb20c2e (patch) | |
tree | aa28400f2db940dd49d862b6b04bc209f247ca9f /vcl | |
parent | 8200c0f802405472c5c7369cb1eff7a7e6d846c9 (diff) |
shrink ppm fuzzer
Change-Id: I6baf17ed113a73c9840af1515c13ce950af9d1c1
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/Executable_ppmfuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/ppmfuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
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 <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 ipbGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) |