File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,15 @@ A tool to check for non-determinism in fuzz coverage. To get the help, run:
11
11
RUST_BACKTRACE=1 cargo run --manifest-path ./contrib/devtools/deterministic-fuzz-coverage/Cargo.toml -- --help
12
12
```
13
13
14
- To execute the tool, compilation has to be done with the build options
15
- `-DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++'
16
- -DBUILD_FOR_FUZZING=ON -DCMAKE_CXX_FLAGS='-fPIC -fprofile-instr-generate
17
- -fcoverage-mapping'`. Both llvm-profdata and llvm-cov must be installed. Also,
18
- the qa-assets repository must have been cloned. Finally, a fuzz target has to
19
- be picked before running the tool:
14
+ To execute the tool, compilation has to be done with the build options:
15
+
16
+ ```
17
+ -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++' -DBUILD_FOR_FUZZING=ON -DCMAKE_CXX_FLAGS='-fprofile-instr-generate -fcoverage-mapping'
18
+ ```
19
+
20
+ Both llvm-profdata and llvm-cov must be installed. Also, the qa-assets
21
+ repository must have been cloned. Finally, a fuzz target has to be picked
22
+ before running the tool:
20
23
21
24
```
22
25
RUST_BACKTRACE=1 cargo run --manifest-path ./contrib/devtools/deterministic-fuzz-coverage/Cargo.toml -- $PWD/build_dir $PWD/qa-assets/corpora-dir fuzz_target_name
You can’t perform that action at this time.
0 commit comments