diff --git a/docs/reproducing.md b/docs/reproducing.md index 46eb74cc0..07d99d8c0 100644 --- a/docs/reproducing.md +++ b/docs/reproducing.md @@ -12,20 +12,20 @@ If you have docker installed, follow these steps: - *Reproduce from nightly sources.* Run:
-docker run --rm -v testcase_file:/testcase -t ossfuzz/target reproduce fuzzer +docker run --rm -v testcase_file:/testcase -t ossfuzz/target reproduce fuzzerIt builds the fuzzer from nightly sources (in the image) and runs it with testcase input. E.g. for libxml2 it will be:
-docker run --rm -ti -v ~/Downloads/testcase:/testcase ossfuzz/libxml2 reproduce libxml2_xml_read_memory_fuzzer +docker run --rm -ti -v ~/Downloads/testcase:/testcase ossfuzz/libxml2 reproduce libxml2_xml_read_memory_fuzzer- *Reproduce with local sources.* Run: - ```bash -docker run --rm -v
+docker run --rm -v local_sources:/src/target -v reproducer_file:/testcase -t ossfuzz/target reproduce fuzzer +This is essentialy the previous command that addionally mounts local sources into the running container. - *Fix the issue.* Use the previous command to verify you fixed the issue locally.