this repo has no description
1opam-version: "2.0" 2maintainer: "stephen.dolan@cl.cam.ac.uk" 3authors: ["Stephen Dolan"] 4homepage: "https://github.com/stedolan/ocaml-afl-persistent" 5bug-reports: "https://github.com/stedolan/ocaml-afl-persistent/issues" 6dev-repo: "git+https://github.com/stedolan/ocaml-afl-persistent.git" 7license: "MIT" 8build: [ 9 [ "dune" "build" "-p" name "-j" jobs ] 10 [ "./config.sh" ] 11] 12patches: [ 13 "config.patch" 14] 15depends: [ 16 "ocaml" {>= "4.05"} 17 "dune" {>= "2.9"} 18 "base-unix" 19] 20post-messages: [ 21"afl-persistent is installed, but since the current OCaml compiler does 22not enable AFL instrumentation by default, most packages will not be 23instrumented and fuzzing with afl-fuzz may not be effective. 24 25To globally enable AFL instrumentation, create an OCaml switch like: 26 27 opam switch create %{ocaml:version}%+afl ocaml-variants.%{ocaml:version}%+options ocaml-option-afl" {success & afl-available & !afl-always} 28] 29synopsis: "Use afl-fuzz in persistent mode" 30description: """ 31afl-fuzz normally works by repeatedly fork()ing the program being 32tested. using this package, you can run afl-fuzz in 'persistent mode', 33which avoids repeated forking and is much faster.""" 34url { 35 src: 36 "https://github.com/stedolan/ocaml-afl-persistent/archive/refs/tags/v1.4.tar.gz" 37 checksum: [ 38 "md5=4791d637ade0269ddb348d231e643bb0" 39 "sha512=68b779f67d3e4e25f64b4cfe902a183b977158e476abd9691e65a65b0220595de802a7fdb3ac473c5379e12e2e1a4cd96cc5f51e407c72f892bdb87db364dd2c" 40 ] 41} 42extra-source "config.patch" { 43 src: 44 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/afl-persistent/config.patch" 45 checksum: [ 46 "sha256=c3375f0b85e1a4d4e498abf168450001cd67ac8d1030c43a294787b643a048c8" 47 "md5=ff93f594181d6508acdce88597e3c7b6" 48 ] 49}