[Libreoffice-commits] core.git: vcl/Executable_xbmfuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Mon Oct 9 13:37:29 UTC 2017
vcl/Executable_xbmfuzzer.mk | 1 -
vcl/workben/xbmfuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit ec1a8442b379c73cdbd8b7eb2d1d40edba890cb7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 9 14:35:50 2017 +0100
shrink xbm fuzzer
Change-Id: I0f17bd2b931a6216c749fbb0db5f29fd20486ef1
Reviewed-on: https://gerrit.libreoffice.org/43281
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/Executable_xbmfuzzer.mk b/vcl/Executable_xbmfuzzer.mk
index 42deb02862e5..fc67b8e8d990 100644
--- a/vcl/Executable_xbmfuzzer.mk
+++ b/vcl/Executable_xbmfuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,xbmfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,xbmfuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/xbmfuzzer.cxx b/vcl/workben/xbmfuzzer.cxx
index 499b4ecff5da..0dab121ed1fb 100644
--- a/vcl/workben/xbmfuzzer.cxx
+++ b/vcl/workben/xbmfuzzer.cxx
@@ -11,6 +11,29 @@
#include <../source/filter/ixbm/xbmread.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