File: afl-persistent.opam

package info (click to toggle)
ocaml-afl-persistent 1.4-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 128 kB
  • sloc: ml: 100; sh: 49; makefile: 11
file content (30 lines) | stat: -rw-r--r-- 1,130 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
opam-version: "2.0"
maintainer: "stephen.dolan@cl.cam.ac.uk"
authors: ["Stephen Dolan"]
homepage: "https://github.com/stedolan/ocaml-afl-persistent"
bug-reports: "https://github.com/stedolan/ocaml-afl-persistent/issues"
dev-repo: "git+https://github.com/stedolan/ocaml-afl-persistent.git"
license: "MIT"
build: [
  [ "dune" "build" "-p" name "-j" jobs ]
  [ "./config.sh" ]
]
depends: [
  "ocaml" {>= "4.05"}
  "dune" {>= "2.9"}
  "base-unix"
]
post-messages: [
"afl-persistent is installed, but since the current OCaml compiler does
not enable AFL instrumentation by default, most packages will not be
instrumented and fuzzing with afl-fuzz may not be effective.

To globally enable AFL instrumentation, create an OCaml switch like:

  opam switch create %{ocaml:version}%+afl ocaml-variants.%{ocaml:version}%+options ocaml-option-afl" {success & afl-available & !afl-always}
]
synopsis: "Use afl-fuzz in persistent mode"
description: """
afl-fuzz normally works by repeatedly fork()ing the program being
tested. using this package, you can run afl-fuzz in 'persistent mode',
which avoids repeated forking and is much faster."""