[Libreoffice-commits] core.git: vcl/Executable_ppmfuzzer.mk vcl/workben

Caolán McNamara caolanm at redhat.com
Sun Oct 15 16:00:00 UTC 2017


 vcl/Executable_ppmfuzzer.mk |    1 -
 vcl/workben/ppmfuzzer.cxx   |   23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)

New commits:
commit e74586f8d1be766a9ba90689f017143c1eb20c2e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Oct 15 16:59:24 2017 +0100

    shrink ppm fuzzer
    
    Change-Id: I6baf17ed113a73c9840af1515c13ce950af9d1c1

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)


More information about the Libreoffice-commits mailing list