diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-09 11:18:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-09 11:19:03 +0100 |
commit | b2384778d958031bce4a5d393bb1d96c74d41ab2 (patch) | |
tree | 70d55e2b152afd26400ea7fe612948f58fe98add /vcl | |
parent | 862167b21bce4a4b65de71af62a05c4bf0a97f87 (diff) |
shrink gif fuzzer
Change-Id: I68561045548bfcff509d439837b7f31c650796f7
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/Executable_giffuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/giffuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_giffuzzer.mk b/vcl/Executable_giffuzzer.mk index 455e22bccdba..6d0458cba34e 100644 --- a/vcl/Executable_giffuzzer.mk +++ b/vcl/Executable_giffuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,giffuzzer,\ $(eval $(call gb_Executable_use_static_libraries,giffuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/giffuzzer.cxx b/vcl/workben/giffuzzer.cxx index 623f9b03a6a1..482099ea807d 100644 --- a/vcl/workben/giffuzzer.cxx +++ b/vcl/workben/giffuzzer.cxx @@ -11,6 +11,29 @@ #include <../source/filter/igif/gifread.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); |