diff options
| author | lijie <[email protected]> | 2018-12-18 14:13:02 +0800 |
|---|---|---|
| committer | lijie <[email protected]> | 2018-12-18 14:13:02 +0800 |
| commit | a4abef91b597f226f918f506e7ff591a77f3b126 (patch) | |
| tree | b16c769bb9ec312b832b28d7315110f7daecc631 /support/cJSON-master/fuzzing/afl.sh | |
| parent | fc99454ea9bce35065e34b28815f8cf417b37804 (diff) | |
修改包含cjson头文件形式,添加mrl的cjson源码v2.0.0
Diffstat (limited to 'support/cJSON-master/fuzzing/afl.sh')
| -rw-r--r-- | support/cJSON-master/fuzzing/afl.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/support/cJSON-master/fuzzing/afl.sh b/support/cJSON-master/fuzzing/afl.sh new file mode 100644 index 0000000..8f0f02f --- /dev/null +++ b/support/cJSON-master/fuzzing/afl.sh @@ -0,0 +1,9 @@ +#!/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 |
