diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-14 20:55:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-14 20:55:46 +0100 |
commit | 71ac6dd8bf10504b94ca5c50ce17db92871c1a4b (patch) | |
tree | af457fbe8f0c609864dbe28eedd083bf440494ec /vcl | |
parent | 9d1dd23d0dc6e96f608d402e1af66c39fa8d1aec (diff) |
shrink svm fuzzer
Change-Id: I6b8c678374f6101b25abe3efd81e77696e4ff1cc
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/Executable_svmfuzzer.mk | 1 | ||||
-rw-r--r-- | vcl/workben/svmfuzzer.cxx | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/vcl/Executable_svmfuzzer.mk b/vcl/Executable_svmfuzzer.mk index e43b3bfd6659..9d41cc6ed0ae 100644 --- a/vcl/Executable_svmfuzzer.mk +++ b/vcl/Executable_svmfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,svmfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,svmfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/svmfuzzer.cxx b/vcl/workben/svmfuzzer.cxx index 7d2bb1874094..a36d7dc2215d 100644 --- a/vcl/workben/svmfuzzer.cxx +++ b/vcl/workben/svmfuzzer.cxx @@ -11,6 +11,29 @@ #include <vcl/gdimtf.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); |