Skip to content

Commit c068311

Browse files
Merge branch 'cm/update-oss-fuzz-docs' into 'main'
(#1094): Add note on reproducing issues in OSS-Fuzz containers Closes #1094 See merge request GNOME/librsvg!986
2 parents e32687a + 954e26d commit c068311

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

devel-docs/oss_fuzz.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ Individual fuzz targets can also be run inside of a debugger for further debuggi
5454
FUZZ_TARGET=$(find ./target/*/release/ -type f -name render_document)
5555
gdb --args "$FUZZ_TARGET" minimized.svg
5656
57+
If the failure does not reproduce locally, you can try reproducing the issue in an OSS-Fuzz
58+
container:
59+
60+
.. code:: bash
61+
62+
git clone https://github.com/google/oss-fuzz.git
63+
cd oss-fuzz
64+
65+
python infra/helper.py build_image librsvg
66+
python infra/helper.py build_fuzzers librsvg
67+
python infra/helper.py reproduce librsvg render_document minimized.svg
5768
5869
Code coverage
5970
^^^^^^^^^^^^^

0 commit comments

Comments
 (0)