vcl/Executable_pngfuzzer.mk | 1 - vcl/workben/pngfuzzer.cxx | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-)
New commits: commit a80fde4c3650dca849ea4c777525f762718021ec Author: Your Name <[email protected]> Date: Mon Oct 9 15:07:36 2017 +0000 shrink png fuzzer Change-Id: I61b89eae0131c000c0a9861ab245fa21e5febc0b Reviewed-on: https://gerrit.libreoffice.org/43287 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/vcl/Executable_pngfuzzer.mk b/vcl/Executable_pngfuzzer.mk index b58b3f1eb4f9..24b9f48970fb 100644 --- a/vcl/Executable_pngfuzzer.mk +++ b/vcl/Executable_pngfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,pngfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,pngfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/pngfuzzer.cxx b/vcl/workben/pngfuzzer.cxx index c3f631e1e502..a88784e1af17 100644 --- a/vcl/workben/pngfuzzer.cxx +++ b/vcl/workben/pngfuzzer.cxx @@ -11,6 +11,29 @@ #include <vcl/pngread.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);
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
