summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-16 08:24:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-16 08:24:45 +0100
commit1854ac23a8943d5f15fe26ce100b335e31a1088c (patch)
tree71c4244ae10f5babf84515c9b254b3dcfa635a7f /vcl/workben
parent1abe50bfa81366ff9f3f95981e8ef409564b9a47 (diff)
shrink tiff fuzzer
Change-Id: Ie1acdd7696d77c2ba1b76eeae789ab17565623f5
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/tiffuzzer.cxx23
1 files changed, 23 insertions, 0 deletions
diff --git a/vcl/workben/tiffuzzer.cxx b/vcl/workben/tiffuzzer.cxx
index b6d3df71f157..6e7dd7b16722 100644
--- a/vcl/workben/tiffuzzer.cxx
+++ b/vcl/workben/tiffuzzer.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 itiGraphicImport(SvStream& rStream, Graphic& rGraphic, FilterConfigItem* pConfigItem);
extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)