diff --git a/docs/reproducing.md b/docs/reproducing.md index 71577e925..ac978d713 100644 --- a/docs/reproducing.md +++ b/docs/reproducing.md @@ -25,7 +25,7 @@ to replicate the exact build steps used by OSS-Fuzz and then feed the reproducer - *Reproduce using the latest OSS-Fuzz build:*
-docker run --rm -v $testcase_file:/testcase -t ossfuzz/$target reproduce $fuzzer +docker run --rm -ti -v $testcase_file:/testcase ossfuzz/$target reproduce $fuzzerIt builds the fuzzer from the most recent successfull OSS-Fuzz build (roughly, last night's sources) @@ -39,8 +39,8 @@ docker run --rm -ti -v ~/Downloads/testcase:/testcase ossfuzz/< - *Reproduce using the local source code:*
-docker run --rm -v $target_checkout_dir:/src/$target \ - -v $reproducer_file:/testcase -t ossfuzz/$target reproduce $fuzzer + docker run --rm -ti -v $target_checkout_dir:/src/$target \ + -v $reproducer_file:/testcase ossfuzz/$target reproduce $fuzzerThis is essentially the previous command that additionally mounts local sources into the running container.