summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-09-15 12:44:08 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-09-15 17:18:03 +0100
commitebc7beb6626a330631cf5e12f0cd8b85f5da1bfa (patch)
tree154055ac5d85ccae860d3e109537dfb4a0da5c22
parente62c94684a29c1f9cf7b338c8e60ee75afcbddda (diff)
ofz: need more services
Change-Id: Iaa594d85aad4b1ee3dd31029fc50c5a1d8997f57
-rw-r--r--Makefile.in2
-rwxr-xr-xbin/oss-fuzz-build.sh6
-rwxr-xr-xsolenv/bin/native-code.py5
3 files changed, 10 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 475ec0aabe66..04aa28a8cd6c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -475,7 +475,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_boost_locale 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 Executable_pptfuzzer Executable_rtffuzzer Executable_cgmfuzzer Executable_ww2fuzzer Executable_ww6fuzzer Executable_ww8fuzzer Executable_qpwfuzzer Executable_slkfuzzer
+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_boost_locale StaticLibrary_fuzzerstubs StaticLibrary_fuzzer_core StaticLibrary_fuzzer_calc StaticLibrary_fuzzer_draw StaticLibrary_fuzzer_writer Library_forui Library_binaryurp Library_io Library_invocation Library_namingservice Library_proxyfac Library_uuresolver Module_ure 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 Executable_pptfuzzer Executable_rtffuzzer Executable_cgmfuzzer Executable_ww2fuzzer Executable_ww6fuzzer Executable_ww8fuzzer Executable_qpwfuzzer Executable_slkfuzzer
endif # MAKE_RESTARTS
diff --git a/bin/oss-fuzz-build.sh b/bin/oss-fuzz-build.sh
index 642e478fdbd2..577d73753a0d 100755
--- a/bin/oss-fuzz-build.sh
+++ b/bin/oss-fuzz-build.sh
@@ -24,9 +24,11 @@ make fuzzers
cp $SRC/libreoffice/extras/source/truetype/symbol/opens___.ttf instdir/share/fonts/truetype/Liberation* $OUT
#minimal runtime requirements
rm -rf $OUT/services $OUT/types $OUT/*rdb
+mkdir $OUT/services
pushd instdir/program
-cp -r *fuzzer *rc *rdb services types $OUT
-mv $OUT/services/services.rdb $OUT/services.rdb
+cp -r *fuzzer *rc types.rdb types $OUT
+head -c -14 services.rdb > $OUT/services.rdb
+tail -c +85 ./services/services.rdb >> $OUT/services.rdb
popd
#starting corpuses
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index d0f1726dd65e..21adb83ac769 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -236,6 +236,11 @@ core_constructor_list = [
"com_sun_star_comp_uui_UUIInteractionHandler_get_implementation",
# xmloff/util/xo.component
"XMLVersionListPersistence_get_implementation",
+# xmlscript/util/xmlscript.component
+ "com_sun_star_comp_xmlscript_XMLBasicExporter",
+ "com_sun_star_comp_xmlscript_XMLBasicImporter",
+ "com_sun_star_comp_xmlscript_XMLOasisBasicExporter",
+ "com_sun_star_comp_xmlscript_XMLOasisBasicImporter",
]
# edit group for apps, where you can edit documents