vcl/Executable_bmpfuzzer.mk | 1 - vcl/workben/bmpfuzzer.cxx | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-)
New commits: commit 34e69a56daf031c1215fd7dd7c342dacb3badb1a Author: Caolán McNamara <[email protected]> Date: Mon Oct 9 16:10:43 2017 +0100 shrink bmp fuzzer Change-Id: I9119c61f80631bb57bc8eade552a4d88b0c699df Reviewed-on: https://gerrit.libreoffice.org/43288 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/vcl/Executable_bmpfuzzer.mk b/vcl/Executable_bmpfuzzer.mk index 2b125ee66375..da22f2f3b8df 100644 --- a/vcl/Executable_bmpfuzzer.mk +++ b/vcl/Executable_bmpfuzzer.mk @@ -33,7 +33,6 @@ $(eval $(call gb_Executable_use_libraries,bmpfuzzer,\ $(eval $(call gb_Executable_use_static_libraries,bmpfuzzer,\ findsofficepath \ ulingu \ - fuzzer_core \ fuzzerstubs \ )) diff --git a/vcl/workben/bmpfuzzer.cxx b/vcl/workben/bmpfuzzer.cxx index cc96044c53d2..0029cb1d00d5 100644 --- a/vcl/workben/bmpfuzzer.cxx +++ b/vcl/workben/bmpfuzzer.cxx @@ -11,6 +11,29 @@ #include <vcl/dibtools.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
