File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ This file contains the bytes that were fed to the [Fuzz Target](http://libfuzzer
13
13
If you have already [ integrated] ( ideal_integration.md ) the fuzz target with your build and test system,
14
14
all you do is run:
15
15
<pre >
16
- ./fuzz_target_binary <b ><i >$testcase_file </i ></b >
16
+ ./fuzz_target_binary <b ><i >$testcase_file_absolute_path </i ></b >
17
17
</pre >
18
18
Depending on the nature of the bug, the fuzz target binary needs to be built with the appropriate [ sanitizer] ( https://github.com/google/sanitizers )
19
19
(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
25
25
- * Reproduce using latest OSS-Fuzz build:*
26
26
27
27
<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 >
29
29
</pre >
30
30
31
31
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><
40
40
41
41
<pre >
42
42
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 >
44
44
</pre >
45
45
46
46
This is essentially the previous command that additionally mounts local sources into the running container.
You can’t perform that action at this time.
0 commit comments