Skip to content

Commit 0700e52

Browse files
author
cktii
committed
fix: incomplete command in fuzzing README.md
1 parent 03e9c40 commit 0700e52

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

fuzzing/README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Fuzzing BehaviorTree.CPP
22

3-
You can build the existing harnesses either for libfuzzer or AFL++:
3+
You can build the existing harnesses either for libfuzzer or AFL++.
4+
Building the fuzzers requires `clang` (libfuzzer) or an installed version
5+
of [AFL++](https://github.com/AFLplusplus/AFLplusplus).
46

57
## libfuzzer
68

79
```bash
810
mkdir build_libfuzzer && cd build_libfuzzer
9-
cmake -DENABLE_FUZZING ..
11+
cmake -DENABLE_FUZZING=ON ..
1012
```
1113

1214
## AFL++
@@ -15,5 +17,5 @@ cmake -DENABLE_FUZZING ..
1517
export CC=afl-clang-fast
1618
export CXX=afl-clang-fast++
1719
mkdir build_afl && cd build_afl
18-
cmake -DENABLE_FUZZING -DUSE_AFLPLUSPLUS ..
20+
cmake -DENABLE_FUZZING=ON -DUSE_AFLPLUSPLUS=ON ..
1921
```

0 commit comments

Comments
 (0)