From 08f7ff03652517aa83dbc9558fd542bdf0000b7f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 28 Nov 2017 16:56:41 +0000 Subject: add xlsx fuzzer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Icce1317dc3ccfb598ce07ee61eddd873f1f98222 Reviewed-on: https://gerrit.libreoffice.org/45481 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- vcl/Executable_xlsxfuzzer.mk | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 vcl/Executable_xlsxfuzzer.mk (limited to 'vcl/Executable_xlsxfuzzer.mk') diff --git a/vcl/Executable_xlsxfuzzer.mk b/vcl/Executable_xlsxfuzzer.mk new file mode 100644 index 000000000000..5040033a5daa --- /dev/null +++ b/vcl/Executable_xlsxfuzzer.mk @@ -0,0 +1,49 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +include $(SRCDIR)/vcl/commonfuzzer.mk + +$(eval $(call gb_Executable_Executable,xlsxfuzzer)) + +$(eval $(call gb_Executable_use_api,xlsxfuzzer,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_Executable_use_externals,xlsxfuzzer,\ + $(fuzzer_externals) \ +)) + +$(eval $(call gb_Executable_set_include,xlsxfuzzer,\ + $$(INCLUDE) \ + -I$(SRCDIR)/vcl/inc \ +)) + +$(eval $(call gb_Executable_use_libraries,xlsxfuzzer,\ + $(fuzzer_calc_libraries) \ + $(fuzzer_core_libraries) \ +)) + +$(eval $(call gb_Executable_use_static_libraries,xlsxfuzzer,\ + findsofficepath \ + ulingu \ + fuzzer_calc \ + fuzzerstubs \ +)) + +$(eval $(call gb_Executable_add_exception_objects,xlsxfuzzer,\ + vcl/workben/xlsxfuzzer \ +)) + +$(eval $(call gb_Executable_add_libs,xlsxfuzzer,\ + -lFuzzingEngine \ +)) + +# vim: set noet sw=4 ts=4: -- cgit