[Libreoffice-commits] core.git: vcl/Executable_svmfuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Sat Oct 14 19:56:17 UTC 2017
vcl/Executable_svmfuzzer.mk | 1 -
vcl/workben/svmfuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit 71ac6dd8bf10504b94ca5c50ce17db92871c1a4b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Oct 14 20:55:46 2017 +0100
shrink svm fuzzer
Change-Id: I6b8c678374f6101b25abe3efd81e77696e4ff1cc
diff --git a/vcl/Executable_svmfuzzer.mk b/vcl/Executable_svmfuzzer.mk
index e43b3bfd6659..9d41cc6ed0ae 100644
--- a/vcl/Executable_svmfuzzer.mk
+++ b/vcl/Executable_svmfuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,svmfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,svmfuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/svmfuzzer.cxx b/vcl/workben/svmfuzzer.cxx
index 7d2bb1874094..a36d7dc2215d 100644
--- a/vcl/workben/svmfuzzer.cxx
+++ b/vcl/workben/svmfuzzer.cxx
@@ -11,6 +11,29 @@
#include <vcl/gdimtf.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