mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
10 lines
185 B
Bash
10 lines
185 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
mkdir -p afl-build || exit 1
|
||
|
cd afl-build || exit 1
|
||
|
#cleanup
|
||
|
rm -r -- *
|
||
|
|
||
|
CC=afl-gcc cmake ../.. -DENABLE_FUZZING=On -DENABLE_SANITIZERS=On -DBUILD_SHARED_LIBS=Off
|
||
|
make afl
|