[Libreoffice-commits] core.git: vcl/Executable_bmpfuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Mon Oct 9 16:07:37 UTC 2017
vcl/Executable_bmpfuzzer.mk | 1 -
vcl/workben/bmpfuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit 34e69a56daf031c1215fd7dd7c342dacb3badb1a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Oct 9 16:10:43 2017 +0100
shrink bmp fuzzer
Change-Id: I9119c61f80631bb57bc8eade552a4d88b0c699df
Reviewed-on: https://gerrit.libreoffice.org/43288
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/Executable_bmpfuzzer.mk b/vcl/Executable_bmpfuzzer.mk
index 2b125ee66375..da22f2f3b8df 100644
--- a/vcl/Executable_bmpfuzzer.mk
+++ b/vcl/Executable_bmpfuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,bmpfuzzer,\
$(eval $(call gb_Executable_use_static_libraries,bmpfuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/bmpfuzzer.cxx b/vcl/workben/bmpfuzzer.cxx
index cc96044c53d2..0029cb1d00d5 100644
--- a/vcl/workben/bmpfuzzer.cxx
+++ b/vcl/workben/bmpfuzzer.cxx
@@ -11,6 +11,29 @@
#include <vcl/dibtools.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