refactor fuzzer army a bit
the core lib has grown sufficiently large that the fuzzing tooling complains of too many instrumented conditions so split things up to hopefully fit again Change-Id: I58899d143925f958aec95b5f213c2dc75a6686ec Reviewed-on: https://gerrit.libreoffice.org/38647 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -474,7 +474,7 @@ $(foreach ide,\
|
||||
eclipsecdt,\
|
||||
$(eval $(call gb_Top_GbuildToIdeIntegrationNS,$(ide))))
|
||||
|
||||
fuzzers: Library_sal Library_salhelper Library_reg Library_store Library_unoidl codemaker Library_cppu Library_i18nlangtag Library_cppuhelper Library_comphelper StaticLibrary_ulingu StaticLibrary_findsofficepath Library_tl Library_basegfx Library_canvastools Library_cppcanvas Library_dbtools Library_deploymentmisc Library_deploymentmisc Library_editeng Library_fwe Library_fwi Library_i18nutil Library_localebe1 Library_sax Library_sofficeapp Library_ucbhelper Library_opencl Rdb_services udkapi offapi Library_clew Library_gie Library_icg Library_reflection Library_invocadapt Library_bootstrap Library_introspection Library_stocservices Library_xmlreader Library_gcc3_uno instsetoo_native more_fonts StaticLibrary_fuzzer Library_forui Executable_wmffuzzer Executable_jpgfuzzer Executable_giffuzzer Executable_xbmfuzzer Executable_xpmfuzzer Executable_pngfuzzer Executable_bmpfuzzer Executable_svmfuzzer Executable_pcdfuzzer Executable_dxffuzzer Executable_metfuzzer Executable_ppmfuzzer Executable_psdfuzzer Executable_epsfuzzer Executable_pctfuzzer Executable_pcxfuzzer Executable_rasfuzzer Executable_tgafuzzer Executable_tiffuzzer Executable_hwpfuzzer Executable_602fuzzer Executable_lwpfuzzer Executable_olefuzzer AllLangResTarget_sd Executable_pptfuzzer Executable_rtffuzzer Executable_cgmfuzzer Executable_ww2fuzzer Executable_ww6fuzzer Executable_ww8fuzzer Executable_qpwfuzzer
|
||||
fuzzers: Library_sal Library_salhelper Library_reg Library_store Library_unoidl codemaker Library_cppu Library_i18nlangtag Library_cppuhelper Library_comphelper StaticLibrary_ulingu StaticLibrary_findsofficepath Library_tl Library_basegfx Library_canvastools Library_cppcanvas Library_dbtools Library_deploymentmisc Library_deploymentmisc Library_editeng Library_fwe Library_fwi Library_i18nutil Library_localebe1 Library_sax Library_sofficeapp Library_ucbhelper Library_opencl Rdb_services udkapi offapi Library_clew Library_gie Library_icg Library_reflection Library_invocadapt Library_bootstrap Library_introspection Library_stocservices Library_xmlreader Library_gcc3_uno instsetoo_native more_fonts StaticLibrary_fuzzerstubs StaticLibrary_fuzzer_core StaticLibrary_fuzzer_calc StaticLibrary_fuzzer_draw StaticLibrary_fuzzer_writer Library_forui Executable_wmffuzzer Executable_jpgfuzzer Executable_giffuzzer Executable_xbmfuzzer Executable_xpmfuzzer Executable_pngfuzzer Executable_bmpfuzzer Executable_svmfuzzer Executable_pcdfuzzer Executable_dxffuzzer Executable_metfuzzer Executable_ppmfuzzer Executable_psdfuzzer Executable_epsfuzzer Executable_pctfuzzer Executable_pcxfuzzer Executable_rasfuzzer Executable_tgafuzzer Executable_tiffuzzer Executable_hwpfuzzer Executable_602fuzzer Executable_lwpfuzzer Executable_olefuzzer AllLangResTarget_sd Executable_pptfuzzer Executable_rtffuzzer Executable_cgmfuzzer Executable_ww2fuzzer Executable_ww6fuzzer Executable_ww8fuzzer Executable_qpwfuzzer
|
||||
|
||||
endif # MAKE_RESTARTS
|
||||
|
||||
|
@@ -10,9 +10,9 @@ $(eval $(call gb_CustomTarget_CustomTarget,vcl/workben))
|
||||
|
||||
fuzzer_PYTHONCOMMAND := $(call gb_ExternalExecutable_get_command,python)
|
||||
|
||||
fuzzer_Native_cxx=$(call gb_CustomTarget_get_workdir,vcl/workben)/native-code.cxx
|
||||
fuzzer_Native_cxx=$(call gb_CustomTarget_get_workdir,vcl/workben)/native-calc.cxx
|
||||
|
||||
$(fuzzer_Native_cxx): $(SRCDIR)/solenv/bin/native-code.py | $(call gb_CustomTarget_get_workdir,vcl/workben)/.dir
|
||||
$(call gb_Helper_abbreviate_dirs, $(fuzzer_PYTHONCOMMAND) $(SRCDIR)/solenv/bin/native-code.py -g core -g draw -g writer -g calc) > $@
|
||||
$(call gb_Helper_abbreviate_dirs, $(fuzzer_PYTHONCOMMAND) $(SRCDIR)/solenv/bin/native-code.py -g core -g calc) > $@
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
18
vcl/CustomTarget_nativecore.mk
Normal file
18
vcl/CustomTarget_nativecore.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# 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/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_CustomTarget_CustomTarget,vcl/workben))
|
||||
|
||||
fuzzer_PYTHONCOMMAND := $(call gb_ExternalExecutable_get_command,python)
|
||||
|
||||
fuzzer_Native_cxx=$(call gb_CustomTarget_get_workdir,vcl/workben)/native-core.cxx
|
||||
|
||||
$(fuzzer_Native_cxx): $(SRCDIR)/solenv/bin/native-code.py | $(call gb_CustomTarget_get_workdir,vcl/workben)/.dir
|
||||
$(call gb_Helper_abbreviate_dirs, $(fuzzer_PYTHONCOMMAND) $(SRCDIR)/solenv/bin/native-code.py -g core) > $@
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
18
vcl/CustomTarget_nativedraw.mk
Normal file
18
vcl/CustomTarget_nativedraw.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# 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/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_CustomTarget_CustomTarget,vcl/workben))
|
||||
|
||||
fuzzer_PYTHONCOMMAND := $(call gb_ExternalExecutable_get_command,python)
|
||||
|
||||
fuzzer_Native_cxx=$(call gb_CustomTarget_get_workdir,vcl/workben)/native-draw.cxx
|
||||
|
||||
$(fuzzer_Native_cxx): $(SRCDIR)/solenv/bin/native-code.py | $(call gb_CustomTarget_get_workdir,vcl/workben)/.dir
|
||||
$(call gb_Helper_abbreviate_dirs, $(fuzzer_PYTHONCOMMAND) $(SRCDIR)/solenv/bin/native-code.py -g core -g draw) > $@
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
18
vcl/CustomTarget_nativewriter.mk
Normal file
18
vcl/CustomTarget_nativewriter.mk
Normal file
@@ -0,0 +1,18 @@
|
||||
#
|
||||
# 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/.
|
||||
#
|
||||
|
||||
$(eval $(call gb_CustomTarget_CustomTarget,vcl/workben))
|
||||
|
||||
fuzzer_PYTHONCOMMAND := $(call gb_ExternalExecutable_get_command,python)
|
||||
|
||||
fuzzer_Native_cxx=$(call gb_CustomTarget_get_workdir,vcl/workben)/native-writer.cxx
|
||||
|
||||
$(fuzzer_Native_cxx): $(SRCDIR)/solenv/bin/native-code.py | $(call gb_CustomTarget_get_workdir,vcl/workben)/.dir
|
||||
$(call gb_Helper_abbreviate_dirs, $(fuzzer_PYTHONCOMMAND) $(SRCDIR)/solenv/bin/native-code.py -g core -g writer) > $@
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
@@ -27,14 +27,15 @@ $(eval $(call gb_Executable_set_include,602fuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,602fuzzer,\
|
||||
t602filter \
|
||||
$(fuzzer_libraries) \
|
||||
t602filter \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,602fuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,602fuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,bmpfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,bmpfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,bmpfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,bmpfuzzer,\
|
||||
|
@@ -27,13 +27,15 @@ $(eval $(call gb_Executable_set_include,cgmfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,cgmfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_draw_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,cgmfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_draw \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,cgmfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,dxffuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,dxffuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,dxffuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,dxffuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,epsfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,epsfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,epsfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,epsfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,giffuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,giffuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,giffuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,giffuzzer,\
|
||||
|
@@ -27,14 +27,15 @@ $(eval $(call gb_Executable_set_include,hwpfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,hwpfuzzer,\
|
||||
hwp \
|
||||
$(fuzzer_libraries) \
|
||||
hwp \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,hwpfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,hwpfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,jpgfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,jpgfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,jpgfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,jpgfuzzer,\
|
||||
|
@@ -27,14 +27,15 @@ $(eval $(call gb_Executable_set_include,lwpfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,lwpfuzzer,\
|
||||
lwpft \
|
||||
$(fuzzer_libraries) \
|
||||
lwpft \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,lwpfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,lwpfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,metfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,metfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,metfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,metfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,olefuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,olefuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,olefuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,olefuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,pcdfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,pcdfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,pcdfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,pcdfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,pctfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,pctfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,pctfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,pctfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,pcxfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,pcxfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,pcxfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,pcxfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,pngfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,pngfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,pngfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,pngfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,ppmfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,ppmfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,ppmfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,ppmfuzzer,\
|
||||
|
@@ -27,13 +27,15 @@ $(eval $(call gb_Executable_set_include,pptfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,pptfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_draw_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,pptfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_draw \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,pptfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,psdfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,psdfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,psdfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,psdfuzzer,\
|
||||
|
@@ -27,14 +27,15 @@ $(eval $(call gb_Executable_set_include,qpwfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,qpwfuzzer,\
|
||||
scfilt \
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_calc_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,qpwfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_calc \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,qpwfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,rasfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,rasfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,rasfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,rasfuzzer,\
|
||||
|
@@ -27,13 +27,15 @@ $(eval $(call gb_Executable_set_include,rtffuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,rtffuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_writer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,rtffuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_writer \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,rtffuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,svmfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,svmfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,svmfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,svmfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,tgafuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,tgafuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,tgafuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,tgafuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,tiffuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,tiffuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,tiffuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,tiffuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,wmffuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,wmffuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,wmffuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,wmffuzzer,\
|
||||
|
@@ -27,13 +27,15 @@ $(eval $(call gb_Executable_set_include,ww2fuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,ww2fuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_writer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,ww2fuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_writer \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,ww2fuzzer,\
|
||||
|
@@ -27,13 +27,15 @@ $(eval $(call gb_Executable_set_include,ww6fuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,ww6fuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_writer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,ww6fuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_writer \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,ww6fuzzer,\
|
||||
|
@@ -27,13 +27,15 @@ $(eval $(call gb_Executable_set_include,ww8fuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,ww8fuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_writer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,ww8fuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_writer \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,ww8fuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,xbmfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,xbmfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,xbmfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,xbmfuzzer,\
|
||||
|
@@ -27,13 +27,14 @@ $(eval $(call gb_Executable_set_include,xpmfuzzer,\
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_libraries,xpmfuzzer,\
|
||||
$(fuzzer_libraries) \
|
||||
$(fuzzer_core_libraries) \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_use_static_libraries,xpmfuzzer,\
|
||||
findsofficepath \
|
||||
ulingu \
|
||||
fuzzer \
|
||||
fuzzer_core \
|
||||
fuzzerstubs \
|
||||
))
|
||||
|
||||
$(eval $(call gb_Executable_add_exception_objects,xpmfuzzer,\
|
||||
|
@@ -104,8 +104,15 @@ endif
|
||||
|
||||
ifneq ($(ENABLE_FUZZERS),)
|
||||
$(eval $(call gb_Module_add_targets,vcl,\
|
||||
CustomTarget_nativecode \
|
||||
StaticLibrary_fuzzer \
|
||||
CustomTarget_nativecore \
|
||||
CustomTarget_nativecalc \
|
||||
CustomTarget_nativedraw \
|
||||
CustomTarget_nativewriter \
|
||||
StaticLibrary_fuzzerstubs \
|
||||
StaticLibrary_fuzzer_core \
|
||||
StaticLibrary_fuzzer_calc \
|
||||
StaticLibrary_fuzzer_draw \
|
||||
StaticLibrary_fuzzer_writer \
|
||||
Executable_wmffuzzer \
|
||||
Executable_jpgfuzzer \
|
||||
Executable_giffuzzer \
|
||||
|
25
vcl/StaticLibrary_fuzzer_calc.mk
Normal file
25
vcl/StaticLibrary_fuzzer_calc.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- 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/.
|
||||
|
||||
$(eval $(call gb_StaticLibrary_StaticLibrary,fuzzer_calc))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_set_include,fuzzer_calc,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/vcl/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_use_api,fuzzer_calc,\
|
||||
offapi \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_add_generated_exception_objects,fuzzer_calc,\
|
||||
CustomTarget/vcl/workben/native-calc \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
25
vcl/StaticLibrary_fuzzer_core.mk
Normal file
25
vcl/StaticLibrary_fuzzer_core.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- 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/.
|
||||
|
||||
$(eval $(call gb_StaticLibrary_StaticLibrary,fuzzer_core))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_set_include,fuzzer_core,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/vcl/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_use_api,fuzzer_core,\
|
||||
offapi \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_add_generated_exception_objects,fuzzer_core,\
|
||||
CustomTarget/vcl/workben/native-core \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
25
vcl/StaticLibrary_fuzzer_draw.mk
Normal file
25
vcl/StaticLibrary_fuzzer_draw.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- 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/.
|
||||
|
||||
$(eval $(call gb_StaticLibrary_StaticLibrary,fuzzer_draw))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_set_include,fuzzer_draw,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/vcl/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_use_api,fuzzer_draw,\
|
||||
offapi \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_add_generated_exception_objects,fuzzer_draw,\
|
||||
CustomTarget/vcl/workben/native-draw \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
25
vcl/StaticLibrary_fuzzer_writer.mk
Normal file
25
vcl/StaticLibrary_fuzzer_writer.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
# -*- 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/.
|
||||
|
||||
$(eval $(call gb_StaticLibrary_StaticLibrary,fuzzer_writer))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_set_include,fuzzer_writer,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/vcl/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_use_api,fuzzer_writer,\
|
||||
offapi \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_add_generated_exception_objects,fuzzer_writer,\
|
||||
CustomTarget/vcl/workben/native-writer \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
@@ -6,19 +6,19 @@
|
||||
# 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/.
|
||||
|
||||
$(eval $(call gb_StaticLibrary_StaticLibrary,fuzzer))
|
||||
$(eval $(call gb_StaticLibrary_StaticLibrary,fuzzerstubs))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_set_include,fuzzer,\
|
||||
$(eval $(call gb_StaticLibrary_set_include,fuzzerstubs,\
|
||||
$$(INCLUDE) \
|
||||
-I$(SRCDIR)/vcl/inc \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_use_api,fuzzer,\
|
||||
$(eval $(call gb_StaticLibrary_use_api,fuzzerstubs,\
|
||||
offapi \
|
||||
udkapi \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_add_exception_objects,fuzzer,\
|
||||
$(eval $(call gb_StaticLibrary_add_exception_objects,fuzzerstubs,\
|
||||
vcl/workben/localestub/localestub \
|
||||
vcl/workben/localestub/localedata_en_AU \
|
||||
vcl/workben/localestub/localedata_en_BW \
|
||||
@@ -41,8 +41,4 @@ $(eval $(call gb_StaticLibrary_add_exception_objects,fuzzer,\
|
||||
vcl/workben/localestub/localedata_en_ZW \
|
||||
))
|
||||
|
||||
$(eval $(call gb_StaticLibrary_add_generated_exception_objects,fuzzer,\
|
||||
CustomTarget/vcl/workben/native-code \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
@@ -39,23 +39,7 @@ fuzzer_externals = \
|
||||
hunspell \
|
||||
zlib \
|
||||
|
||||
fuzzer_libraries = \
|
||||
msword \
|
||||
sw \
|
||||
swd \
|
||||
writerfilter \
|
||||
textfd \
|
||||
analysis \
|
||||
date \
|
||||
pricing \
|
||||
scfilt \
|
||||
scd \
|
||||
vbaevents \
|
||||
sc \
|
||||
sdfilt \
|
||||
sd \
|
||||
sdd \
|
||||
icg \
|
||||
fuzzer_core_libraries = \
|
||||
basctl \
|
||||
avmedia \
|
||||
basegfx \
|
||||
@@ -69,8 +53,6 @@ fuzzer_libraries = \
|
||||
drawinglayer \
|
||||
editeng \
|
||||
filterconfig \
|
||||
for \
|
||||
forui \
|
||||
fsstorage \
|
||||
fwe \
|
||||
fwi \
|
||||
@@ -149,3 +131,27 @@ fuzzer_libraries = \
|
||||
gcc3_uno \
|
||||
salhelper \
|
||||
sal \
|
||||
|
||||
fuzzer_calc_libraries = \
|
||||
analysis \
|
||||
date \
|
||||
pricing \
|
||||
scfilt \
|
||||
scd \
|
||||
vbaevents \
|
||||
sc \
|
||||
for \
|
||||
forui \
|
||||
|
||||
fuzzer_writer_libraries = \
|
||||
msword \
|
||||
sw \
|
||||
swd \
|
||||
writerfilter \
|
||||
textfd \
|
||||
|
||||
fuzzer_draw_libraries = \
|
||||
sdfilt \
|
||||
sd \
|
||||
sdd \
|
||||
icg \
|
||||
|
Reference in New Issue
Block a user