E4F9 BehaviorTree.CPP/fuzzing/README.md at master · BehaviorTree/BehaviorTree.CPP · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 484 Bytes

File metadata and controls

21 lines (16 loc) · 484 Bytes

Fuzzing BehaviorTree.CPP

You can build the existing harnesses either for libfuzzer or AFL++. Building the fuzzers requires clang (libfuzzer) or an installed version of AFL++.

libfuzzer

mkdir build_libfuzzer && cd build_libfuzzer
cmake -DENABLE_FUZZING=ON ..

AFL++

export CC=afl-clang-fast
export CXX=afl-clang-fast++
mkdir build_afl && cd build_afl
cmake -DENABLE_FUZZING=ON -DUSE_AFLPLUSPLUS=ON ..
0