office-gobmx/vcl/Executable_zipfuzzer.mk
Caolán McNamara fb76d7f454 add a fuzzer to test zip recovery mode
Change-Id: I25f82cd83afae0fb3b0cfc3f1586e28323369f8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150978
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2023-04-25 19:20:47 +02:00

45 lines
1 KiB
Makefile

# -*- 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,zipfuzzer))
$(eval $(call gb_Executable_use_api,zipfuzzer,\
offapi \
udkapi \
))
$(eval $(call gb_Executable_use_externals,zipfuzzer,\
$(fuzzer_externals) \
))
$(eval $(call gb_Executable_set_include,zipfuzzer,\
$$(INCLUDE) \
-I$(SRCDIR)/vcl/inc \
))
$(eval $(call gb_Executable_use_libraries,zipfuzzer,\
$(fuzzer_core_libraries) \
))
$(eval $(call gb_Executable_use_static_libraries,zipfuzzer,\
$(fuzzer_statics) \
))
$(eval $(call gb_Executable_add_exception_objects,zipfuzzer,\
vcl/workben/zipfuzzer \
))
$(eval $(call gb_Executable_add_libs,zipfuzzer,\
$(LIB_FUZZING_ENGINE) \
))
# vim: set noet sw=4 ts=4: