Skip to content

Commit b49e19c

Browse files
committed
doc: use arch agnostic clang path in fuzzing doc (macOS)
1 parent 1bcabe6 commit b49e19c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/fuzzing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ You may also need to take care of giving the correct path for `clang` and
136136
`clang++`, like `CC=/path/to/clang CXX=/path/to/clang++` if the non-systems
137137
`clang` does not come first in your path.
138138
139-
Full configure that was tested on macOS Catalina with `brew` installed `llvm`:
139+
Full configure that was tested on macOS with `brew` installed `llvm`:
140140
141141
```sh
142-
./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ --disable-asm
142+
./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined --disable-asm CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++
143143
```
144144
145145
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.

0 commit comments

Comments
 (0)