vcl/Executable_psdfuzzer.mk | 1 - vcl/workben/psdfuzzer.cxx | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-)
New commits: commit f8b9116e710891cbd8674fe838f04e41346d83b8 Author: Caolán McNamara <caol...@redhat.com> Date: Sun Oct 15 17:14:42 2017 +0100 shrink psd fuzzer Change-Id: Ic47710ec80c6c71b48ffb10449398348bec2189b diff --git a/vcl/Executable_psdfuzzer.mk b/vcl/Executable_psdfuzzer.mk index 4ed652ae2831..e53d3dddbb72 100644 --- a/vcl/Executable_psdfuzzer.mk +++ b/vcl/Executable_psdfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,psdfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,psdfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/psdfuzzer.cxx b/vcl/workben/psdfuzzer.cxx index 5f9c3bec680f..715588cc5932 100644 --- a/vcl/workben/psdfuzzer.cxx +++ b/vcl/workben/psdfuzzer.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 ipdGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits