diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-16 08:38:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-16 08:38:24 +0100 |
commit | f5e18b4f122a00eb9c2b54c833607c1d18f19d3a (patch) | |
tree | 19382f13404276729dc6e58cdf6da87753316437 /vcl/workben | |
parent | 1854ac23a8943d5f15fe26ce100b335e31a1088c (diff) |
shrink hwp fuzzer
Change-Id: If05afad52f44691e8fbfbd040658ab866dd4eb46
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/hwpfuzzer.cxx | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vcl/workben/hwpfuzzer.cxx b/vcl/workben/hwpfuzzer.cxx index 3beab7e3ee4d..acff28cdb178 100644 --- a/vcl/workben/hwpfuzzer.cxx +++ b/vcl/workben/hwpfuzzer.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 TestImportHWP(SvStream &rStream); extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv) |