[Libreoffice-commits] core.git: vcl/Executable_pctfuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Sun Oct 15 20:10:23 UTC 2017
vcl/Executable_pctfuzzer.mk | 1 -
vcl/workben/pctfuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit dcc6738ab32585601cd4f7859a9f227cc22d5a5e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Oct 15 21:08:31 2017 +0100
shrink pct fuzzer
Change-Id: Ie162cde24ef13dd57bea7857b0d2b4a7fd19bf8b
diff --git a/vcl/Executable_pctfuzzer.mk b/vcl/Executable_pctfuzzer.mk
index 17c8c61233d4..0265fd59d58c 100644
--- a/vcl/Executable_pctfuzzer.mk
+++ b/vcl/Executable_pctfuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,pctfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,pctfuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/pctfuzzer.cxx b/vcl/workben/pctfuzzer.cxx
index 5d56208b547a..daa9f3df147c 100644
--- a/vcl/workben/pctfuzzer.cxx
+++ b/vcl/workben/pctfuzzer.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 iptGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
More information about the Libreoffice-commits
mailing list