From c481c5980d6a2e1000afb81604bacf3f5cfc8ed0 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 26 Oct 2016 20:40:55 -0700 Subject: [PATCH] Update reproducing.md --- docs/reproducing.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 fuzzer
    
It 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 :/src/ -v :/testcase -t ossfuzz/ reproduce - ``` +
+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.