[Libreoffice-commits] core.git: vcl/Executable_tiffuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Mon Oct 16 07:25:13 UTC 2017
vcl/Executable_tiffuzzer.mk | 1 -
vcl/workben/tiffuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit 1854ac23a8943d5f15fe26ce100b335e31a1088c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 16 08:24:25 2017 +0100
shrink tiff fuzzer
Change-Id: Ie1acdd7696d77c2ba1b76eeae789ab17565623f5
diff --git a/vcl/Executable_tiffuzzer.mk b/vcl/Executable_tiffuzzer.mk
index 7989eed93c23..1b8103aa055a 100644
--- a/vcl/Executable_tiffuzzer.mk
+++ b/vcl/Executable_tiffuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,tiffuzzer,\
$(eval $(call gb_Executable_use_static_libraries,tiffuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/tiffuzzer.cxx b/vcl/workben/tiffuzzer.cxx
index b6d3df71f157..6e7dd7b16722 100644
--- a/vcl/workben/tiffuzzer.cxx
+++ b/vcl/workben/tiffuzzer.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 itiGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
More information about the Libreoffice-commits
mailing list