mirror of
https://github.com/DaveGamble/cJSON.git
synced 2024-12-26 21:04:24 +08:00
10 lines
192 B
Bash
Executable File
10 lines
192 B
Bash
Executable File
#!/bin/bash
|
|
|
|
mkdir -p afl-build || exit 1
|
|
cd afl-build || exit 1
|
|
#cleanup
|
|
rm -r -- *
|
|
|
|
CC=afl-clang-fast cmake ../.. -DENABLE_FUZZING=On -DENABLE_SANITIZERS=On -DBUILD_SHARED_LIBS=Off
|
|
make afl
|