GraphicsMagick: fuzzing/oss-fuzz-build.sh: Enable x265 in oss-fu...

GraphicsMagick Commits <[email protected]> Wed, 30 Oct 2024 14:39:39 -0500
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.31777.1730317189.7833.graphicsmagick-commit@lists.sourceforge.net>
changeset 48efc018916a in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=48efc018916a
summary: fuzzing/oss-fuzz-build.sh: Enable x265 in oss-fuzz build.

diffstat:

 ChangeLog                 |   2 ++
 fuzzing/oss-fuzz-build.sh |  27 +++++++++++++++++++++++----
 2 files changed, 25 insertions(+), 4 deletions(-)

diffs (63 lines):

diff -r 2f12a51bd4d4 -r 48efc018916a ChangeLog
--- a/ChangeLog	Wed Oct 30 10:12:41 2024 -0500
+++ b/ChangeLog	Wed Oct 30 14:39:00 2024 -0500
@@ -2,6 +2,8 @@
 
 	* fuzzing/oss-fuzz-build.sh: Skip re-bootstrap of GraphicsMagick
 	since it sometimes fails due to network issues.
+	(enable_x265): Enable x265 in oss-fuzz build (and re-enable de265,
+	which was accidentally disabled).
 
 2024-10-29  Bob Friesenhahn  <[email protected]>
 
diff -r 2f12a51bd4d4 -r 48efc018916a fuzzing/oss-fuzz-build.sh
--- a/fuzzing/oss-fuzz-build.sh	Wed Oct 30 10:12:41 2024 -0500
+++ b/fuzzing/oss-fuzz-build.sh	Wed Oct 30 14:39:00 2024 -0500
@@ -1,8 +1,27 @@
 #!/bin/bash -eu
 
-# This is intended to be run from OSS-Fuzz's build environment. We intend to
-# eventually refactor it to be easy to run locally.
+# This shell script is intended to be run from OSS-Fuzz's build
+# environment. We intend to eventually refactor it to be easy to run
+# locally.
 
+# Useful OSS-Fuzz URLs:
+#
+# GM build status:
+#
+#   https://oss-fuzz-build-logs.storage.googleapis.com/index.html#graphicsmagick
+#
+# GM open issues:
+#
+#   https://issues.oss-fuzz.com/savedsearches/6886196
+#
+# OSS-Fuzz usage documentation:
+#
+#   https://google.github.io/oss-fuzz/
+#
+# OSS-Fuzz code master source tree:
+#
+#   https://github.com/google/oss-fuzz/tree/master
+#
 # For local testing of fuzzing/oss-fuzz-build.sh in 'compile' mode do:
 #
 # Check 'compile' prompt for docker container id
@@ -16,7 +35,7 @@
 # ~/src/GM% docker cp fuzzing/oss-fuzz-build.sh $(docker ps -lq):/src/graphicsmagick/fuzzing/oss-fuzz-build.sh
 # ~/src/GM% docker cp fuzzing/coder_fuzzer.cc $(docker ps -lq):/src/graphicsmagick/fuzzing/
 #
-# Execute in the oss-fuzz shell environment like "/src/build.sh" while
+# Execute in the oss-fuzz shell environment like "/src/build.sh 2>&1 | tee build.sh" while
 # in the initial "/src/graphicsmagick" directory.
 #
 #
@@ -46,7 +65,7 @@
 
 enable_aom=true
 enable_bzip2=true
-enable_de265=false
+enable_de265=true
 enable_freetype=true
 enable_heif=true
 enable_jasper=true