[Libreoffice-commits] core.git: vcl/Executable_pcxfuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Sun Oct 15 20:25:26 UTC 2017
vcl/Executable_pcxfuzzer.mk | 1 -
vcl/workben/pcxfuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit 1ad5bc0374b32cc0bbee554a2e95d0e1855c394b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Oct 15 21:24:36 2017 +0100
shrink pcx fuzzer
Change-Id: If8653278fe1b2ae09b8ee6c6da10d43542be7798
diff --git a/vcl/Executable_pcxfuzzer.mk b/vcl/Executable_pcxfuzzer.mk
index ad24b39a30a9..ad24b43c16a2 100644
--- a/vcl/Executable_pcxfuzzer.mk
+++ b/vcl/Executable_pcxfuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,pcxfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,pcxfuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/pcxfuzzer.cxx b/vcl/workben/pcxfuzzer.cxx
index 6f07f5e4d6aa..32e2a88f860d 100644
--- a/vcl/workben/pcxfuzzer.cxx
+++ b/vcl/workben/pcxfuzzer.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 ipxGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
More information about the Libreoffice-commits
mailing list