summaryrefslogtreecommitdiff
path: root/vcl/workben/olefuzzer.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-16 17:30:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-16 17:31:08 +0100
commit172954db84ec4a2d38bf154c3199c5e16ee4f546 (patch)
tree353e1884e2b6f9cab9aeb8eafc3c8d4c3e217602 /vcl/workben/olefuzzer.cxx
parent5a31258d120c7220d918c0835a03928b1451c7a9 (diff)
shrink ole fuzzer
Change-Id: Iee390bd5e241536d4f55743083468c433417f572
Diffstat (limited to 'vcl/workben/olefuzzer.cxx')
-rw-r--r--vcl/workben/olefuzzer.cxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcl/workben/olefuzzer.cxx b/vcl/workben/olefuzzer.cxx
index 6554b723f955..90caf7659f42 100644
--- a/vcl/workben/olefuzzer.cxx
+++ b/vcl/workben/olefuzzer.cxx
@@ -10,6 +10,29 @@
#include <tools/stream.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 TestImportOLE2(SvStream &rStream);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)