diff options
author | David Benjamin <davidben@google.com> | 2023-04-19 15:38:47 -0400 |
---|---|---|
committer | Boringssl LUCI CQ <boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-19 20:16:58 +0000 |
commit | 1a5570b8e8e4b57bc7f0f1fdff93b28c6475c364 (patch) | |
tree | a21db6db1fed1c3938b950dde093818c2bcf39c0 /FUZZING.md | |
parent | 26ead95e4667a3c49a04150d5ebae84050e8a5d3 (diff) | |
download | boringssl-1a5570b8e8e4b57bc7f0f1fdff93b28c6475c364.zip boringssl-1a5570b8e8e4b57bc7f0f1fdff93b28c6475c364.tar.gz boringssl-1a5570b8e8e4b57bc7f0f1fdff93b28c6475c364.tar.bz2 |
Update docs to recommend a much more convenient CMake invocation
Newer CMakes support a -B parameter, which saves some fuss.
Change-Id: Ifdbbb50b3720cdc42af098eb32941283692e9d99
Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/58966
Commit-Queue: David Benjamin <davidben@google.com>
Reviewed-by: Bob Beck <bbe@google.com>
Reviewed-by: Nabil Wadih <nwadih@google.com>
Diffstat (limited to 'FUZZING.md')
-rw-r--r-- | FUZZING.md | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -7,10 +7,8 @@ We use Clang's [libFuzzer](http://llvm.org/docs/LibFuzzer.html) for fuzz testing In order to build the fuzz tests you will need at least Clang 6.0. Pass `-DFUZZ=1` on the CMake command line to enable building BoringSSL with coverage and AddressSanitizer, and to build the fuzz test binaries. You'll probably need to set the `CC` and `CXX` environment variables too, like this: ``` -mkdir build -cd build -CC=clang CXX=clang++ cmake -GNinja -DFUZZ=1 .. -ninja +CC=clang CXX=clang++ cmake -GNinja -DFUZZ=1 -B build +ninja -C build ``` |