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.