[Libreoffice-commits] core.git: vcl/Executable_giffuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Mon Oct 9 10:20:18 UTC 2017
vcl/Executable_giffuzzer.mk | 1 -
vcl/workben/giffuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit b2384778d958031bce4a5d393bb1d96c74d41ab2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 9 11:18:42 2017 +0100
shrink gif fuzzer
Change-Id: I68561045548bfcff509d439837b7f31c650796f7
diff --git a/vcl/Executable_giffuzzer.mk b/vcl/Executable_giffuzzer.mk
index 455e22bccdba..6d0458cba34e 100644
--- a/vcl/Executable_giffuzzer.mk
+++ b/vcl/Executable_giffuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,giffuzzer,\
$(eval $(call gb_Executable_use_static_libraries,giffuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/giffuzzer.cxx b/vcl/workben/giffuzzer.cxx
index 623f9b03a6a1..482099ea807d 100644
--- a/vcl/workben/giffuzzer.cxx
+++ b/vcl/workben/giffuzzer.cxx
@@ -11,6 +11,29 @@
#include <../source/filter/igif/gifread.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" int LLVMFuzzerInitialize(int *argc, char ***argv)
{
TypicalFuzzerInitialize(argc, argv);
More information about the Libreoffice-commits
mailing list