File: afl.sh

package info (click to toggle)
cjson 1.7.18-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,116 kB
  • sloc: ansic: 16,751; ruby: 3,083; makefile: 338; python: 220; sh: 26
file content (9 lines) | stat: -rwxr-xr-x 192 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
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