diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-15 23:43:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-15 23:43:41 +0100 |
commit | bf3578ec063baa2248ac48d05c7c3b03584a0925 (patch) | |
tree | ebbdd5bfa633d4ca317d990ce25ab4502d9e9166 | |
parent | shrink ras fuzzer (diff) | |
download | core-bf3578ec063baa2248ac48d05c7c3b03584a0925.tar.gz core-bf3578ec063baa2248ac48d05c7c3b03584a0925.zip |
shrink tga fuzzer
Change-Id: I64793511c500c0fe3521c1b4b93c6f0db61ad6b3
-rw-r--r-- | vcl/Executable_tgafuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/tgafuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
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) |