mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
Merge bitcoin/bitcoin#35274: doc: clarify libfuzzer-nosan preset uses build_fuzz_nosan dir
0065f354a7doc: clarify libfuzzer-nosan preset uses build_fuzz_nosan dir (ImMike) Pull request description: Adds a clarifying note next to the first mention of the `libfuzzer-nosan` preset in the Quickstart, pointing out that it uses a different build directory (`build_fuzz_nosan`, per [`CMakePresets.json` L54](https://github.com/bitcoin/bitcoin/blob/master/CMakePresets.json#L54)). A reader following the quickstart with `--preset=libfuzzer-nosan` and then running `cmake --build build_fuzz` as shown would otherwise operate against the wrong (or empty) directory. Pure docs; no code changes. ACKs for top commit: l0rinc: ACK0065f354a7maflcko: lgtm ACK0065f354a7sedited: ACK0065f354a7Tree-SHA512: d73901112d259cec58746dff50fe3f9409e5b9826f0759f45478fe039bca851eb163036c60bdb215bfc66be79428b790742bbe8bc32b1ceaa2d6f80c17faf6d0
This commit is contained in:
@@ -14,6 +14,8 @@ $ FUZZ=process_message build_fuzz/bin/fuzz
|
||||
```
|
||||
|
||||
One can use `--preset=libfuzzer-nosan` to do the same without common sanitizers enabled.
|
||||
Note that this preset uses a different build directory, so replace `build_fuzz` with
|
||||
`build_fuzz_nosan` in the build and run commands above.
|
||||
See [further](#run-without-sanitizers-for-increased-throughput) for more information.
|
||||
|
||||
There is also a runner script to execute all fuzz targets. Refer to
|
||||
|
||||
Reference in New Issue
Block a user