Skip to content

Commit e30da1e

Browse files
Update reproducing.md
1 parent 7823a75 commit e30da1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reproducing.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This file contains the bytes that were fed to the [Fuzz Target](http://libfuzzer
1313
If you have already [integrated](ideal_integration.md) the fuzz target with your build and test system,
1414
all you do is run:
1515
<pre>
16-
./fuzz_target_binary <b><i>$testcase_file</i></b>
16+
./fuzz_target_binary <b><i>$testcase_file_absolute_path</i></b>
1717
</pre>
1818
Depending on the nature of the bug, the fuzz target binary needs to be built with the appropriate [sanitizer](https://github.com/google/sanitizers)
1919
(e.g. if this is a buffer overflow, with [AddressSanitizer](http://clang.llvm.org/docs/AddressSanitizer.html)).
@@ -25,7 +25,7 @@ to replicate the exact build steps used by OSS-Fuzz and then feed the reproducer
2525
- *Reproduce using latest OSS-Fuzz build:*
2626

2727
<pre>
28-
docker run --rm -ti -v <b><i>$testcase_file</i></b>:/testcase ossfuzz/<b><i>$project</i></b> reproduce <b><i>$fuzzer</i></b>
28+
docker run --rm -ti -v <b><i>$testcase_file_absolute_path</i></b>:/testcase ossfuzz/<b><i>$project</i></b> reproduce <b><i>$fuzzer</i></b>
2929
</pre>
3030

3131
It builds the fuzzer from the most recent successful OSS-Fuzz build (usually last night's sources)
@@ -40,7 +40,7 @@ docker run --rm -ti -v <b><i>~/Downloads/testcase</i></b>:/testcase ossfuzz/<b><
4040

4141
<pre>
4242
docker run --rm -ti -v <b><i>$local_source_checkout_dir</i></b>:/src/<b><i>$project</i></b> \
43-
-v <b><i>$testcase_file</i></b>:/testcase ossfuzz/<b><i>$project</i></b> reproduce <b><i>$fuzzer</i></b>
43+
-v <b><i>$testcase_file_absolute_path</i></b>:/testcase ossfuzz/<b><i>$project</i></b> reproduce <b><i>$fuzzer</i></b>
4444
</pre>
4545

4646
This is essentially the previous command that additionally mounts local sources into the running container.

0 commit comments

Comments
 (0)