[Libreoffice-commits] core.git: vcl/Executable_tgafuzzer.mk vcl/workben
Caolán McNamara
caolanm at redhat.com
Sun Oct 15 22:44:25 UTC 2017
vcl/Executable_tgafuzzer.mk | 1 -
vcl/workben/tgafuzzer.cxx | 23 +++++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
New commits:
commit bf3578ec063baa2248ac48d05c7c3b03584a0925
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Oct 15 23:43:41 2017 +0100
shrink tga fuzzer
Change-Id: I64793511c500c0fe3521c1b4b93c6f0db61ad6b3
diff --git a/vcl/Executable_tgafuzzer.mk b/vcl/Executable_tgafuzzer.mk
index e9c3c5d2117c..a53da7c7e539 100644
--- a/vcl/Executable_tgafuzzer.mk
+++ b/vcl/Executable_tgafuzzer.mk
@@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,tgafuzzer,\
$(eval $(call gb_Executable_use_static_libraries,tgafuzzer,\
findsofficepath \
ulingu \
- fuzzer_core \
fuzzerstubs \
))
diff --git a/vcl/workben/tgafuzzer.cxx b/vcl/workben/tgafuzzer.cxx
index 4ac9bd19a788..d0c9e0a0a202 100644
--- a/vcl/workben/tgafuzzer.cxx
+++ b/vcl/workben/tgafuzzer.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 itgGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
More information about the Libreoffice-commits
mailing list