diff options
author | fanquake <fanquake@gmail.com> | 2023-02-07 16:52:44 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-02-08 09:45:04 +0000 |
commit | b49e19ccd9a50053c69cd42bae1b44df07890cfd (patch) | |
tree | 7d5570e778e33813d0dcf0f03c4e8a16bbb119c2 /doc | |
parent | 1bcabe6f2ac8a64afdf14025eefb606ed07dcf1b (diff) |
doc: use arch agnostic clang path in fuzzing doc (macOS)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fuzzing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/fuzzing.md b/doc/fuzzing.md index b498f2f41b..84ebb0986d 100644 --- a/doc/fuzzing.md +++ b/doc/fuzzing.md @@ -136,10 +136,10 @@ You may also need to take care of giving the correct path for `clang` and `clang++`, like `CC=/path/to/clang CXX=/path/to/clang++` if the non-systems `clang` does not come first in your path. -Full configure that was tested on macOS Catalina with `brew` installed `llvm`: +Full configure that was tested on macOS with `brew` installed `llvm`: ```sh -./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ --disable-asm +./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined --disable-asm CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++ ``` Read the [libFuzzer documentation](https://llvm.org/docs/LibFuzzer.html) for more information. This [libFuzzer tutorial](https://github.com/google/fuzzing/blob/master/tutorial/libFuzzerTutorial.md) might also be of interest. |