From 7c3815b35da0514e082d88dd1b4395e58ac832b1 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 26 Oct 2016 20:41:40 -0700 Subject: [PATCH] Update reproducing.md --- docs/reproducing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reproducing.md b/docs/reproducing.md index 07d99d8c0..383d295a4 100644 --- a/docs/reproducing.md +++ b/docs/reproducing.md @@ -12,7 +12,7 @@ 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. @@ -24,7 +24,7 @@ docker run --rm -ti -v ~/Downloads/testcase:/testcase ossfuzz/< - *Reproduce with local sources.* Run:
-docker run --rm  -v local_sources:/src/target -v reproducer_file:/testcase -t ossfuzz/target reproduce fuzzer
+docker run --rm  -v $target_checkout_dir:/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.