diff options
author | Your Name <you@example.com> | 2017-10-09 14:44:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-09 16:49:33 +0200 |
commit | bd219133ef6e4ba1d7b9e8cadadeae80d7c59922 (patch) | |
tree | a5287746e87903fc91c3b08627a184885d48f98c /vcl | |
parent | a636d2ee19fcb319b028e04395c2eee0f624263c (diff) |
shrink xpm fuzzer
Change-Id: Iacae6fa5135c427ad22d185658c25f44af2ac5d0
Reviewed-on: https://gerrit.libreoffice.org/43286
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/Executable_xpmfuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/xpmfuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_xpmfuzzer.mk b/vcl/Executable_xpmfuzzer.mk index 0118213ee05a..892d5c962bb1 100644 --- a/vcl/Executable_xpmfuzzer.mk +++ b/vcl/Executable_xpmfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,xpmfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,xpmfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/xpmfuzzer.cxx b/vcl/workben/xpmfuzzer.cxx index 95a4692bb0c8..e5160414ccaf 100644 --- a/vcl/workben/xpmfuzzer.cxx +++ b/vcl/workben/xpmfuzzer.cxx @@ -11,6 +11,29 @@ #include <../source/filter/ixpm/xpmread.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); |