diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-15 10:49:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-15 10:50:12 +0100 |
commit | 9685532bc859167c1aa856c6f6792559904b8fb9 (patch) | |
tree | 1d4c58a97879a687e69a1fee4de2a0cc4dc06a93 | |
parent | 52a2a0101f71b21876f17d5419132ffa27f6e35d (diff) |
shrink pcd fuzzer
Change-Id: I40235d5ee194b1e74a4f227800fe13329746d7eb
-rw-r--r-- | vcl/Executable_pcdfuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/pcdfuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_pcdfuzzer.mk b/vcl/Executable_pcdfuzzer.mk index f115af391a1f..65916135e383 100644 --- a/vcl/Executable_pcdfuzzer.mk +++ b/vcl/Executable_pcdfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,pcdfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,pcdfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/pcdfuzzer.cxx b/vcl/workben/pcdfuzzer.cxx index 942f21e5646e..fe437adf66e2 100644 --- a/vcl/workben/pcdfuzzer.cxx +++ b/vcl/workben/pcdfuzzer.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 icdGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) |