forked from stedolan/ocaml-afl-persistent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathafl-persistent.opam
35 lines (32 loc) · 1.35 KB
/
afl-persistent.opam
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
31
32
33
34
35
opam-version: "2.0"
maintainer: "[email protected]"
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: [[ "./build.sh" ]]
depends: [
"ocaml" {>= "4.00"}
"base-unix"
]
post-messages: [
"afl-persistent is installed, but since AFL instrumentation is not available
with this OCaml compiler, instrumented fuzzing with afl-fuzz won't work.
To use instrumented fuzzing, switch to an OCaml version supporting AFL, such
as 4.07.1+afl." {success & !afl-available}
"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, use an OCaml switch such as
4.07.1+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."""
url {
src: "https://github.com/stedolan/ocaml-afl-persistent/archive/v1.3.tar.gz"
checksum: "md5=613ae369149ae8e2942e3c8bddd6798b"
}