[Libreoffice-commits] core.git: vcl/Executable_rasfuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Sun Oct 15 22:27:22 UTC 2017
vcl/Executable_rasfuzzer.mk | 1 -
vcl/workben/rasfuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit e5bbf92696f47abadc78382b6a788deed70addc7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Oct 15 23:26:33 2017 +0100
shrink ras fuzzer
Change-Id: I3f0b83b9b502000cf206d01cb5af5417a5e52863
diff --git a/vcl/Executable_rasfuzzer.mk b/vcl/Executable_rasfuzzer.mk
index 60bc69085688..7440544c77f3 100644
--- a/vcl/Executable_rasfuzzer.mk
+++ b/vcl/Executable_rasfuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,rasfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,rasfuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/rasfuzzer.cxx b/vcl/workben/rasfuzzer.cxx
index 2cc4314b55dc..bb78df03fea7 100644
--- a/vcl/workben/rasfuzzer.cxx
+++ b/vcl/workben/rasfuzzer.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 iraGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
More information about the Libreoffice-commits
mailing list