unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: pukkamustard <pukkamustard@posteo.net>
To: 57298@debbugs.gnu.org
Cc: Xinglu Chen <public@yoctocell.xyz>
Subject: [bug#57298] [PATCH 1/5] gnu: Add ocaml-afl-persistent.
Date: Fri, 19 Aug 2022 15:24:28 +0000	[thread overview]
Message-ID: <20220819152432.26135-1-pukkamustard@posteo.net> (raw)
In-Reply-To: <20220819152149.25881-1-pukkamustard@posteo.net>

From: Xinglu Chen <public@yoctocell.xyz>

* gnu/packages/ocaml.scm (ocaml-afl-persistent): New variable.
---
 gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 3f123219f7..14550d1232 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8545,6 +8545,40 @@ (define-public js-of-ocaml
 browsers and Node.js.")
     (license license:lgpl2.1+)))
 
+(define-public ocaml-afl-persistent
+  (package
+    (name "ocaml-afl-persistent")
+    (version "1.3")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url "https://github.com/stedolan/ocaml-afl-persistent")
+              (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+           "06yyds2vcwlfr2nd3gvyrazlijjcrd1abnvkfpkaadgwdw3qam1i"))))
+    (build-system ocaml-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'build
+           (lambda _
+             (invoke "./build.sh")))
+         ;; XXX: The tests are already run in the build.sh script.
+         (delete 'check))))
+    (native-inputs
+     `(("opam" ,opam)))
+    (home-page "https://github.com/stedolan/ocaml-afl-persistent")
+    (synopsis "Use afl-fuzz in persistent mode")
+    (description
+      "afl-fuzz normally works by repeatedly forking the program being tested.
+Using this package, you can run afl-fuzz in ``persistent mode'', which avoids
+repeated forking and is much faster.")
+    (license license:expat)))
+
 (define-public ocaml-bibtex2html
   (package
     (name "ocaml-bibtex2html")
-- 
2.37.1





  reply	other threads:[~2022-08-19 15:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 15:21 [bug#57298] [PATCH 0/5] gnu: Add ocaml-digestif. (and dependencies) pukkamustard
2022-08-19 15:24 ` pukkamustard [this message]
2022-08-19 15:24   ` [bug#57298] [PATCH 2/5] gnu: Add ocaml-pprint pukkamustard
2022-08-20 12:03     ` Julien Lepiller
2022-08-22  9:43       ` pukkamustard
2022-08-19 15:24   ` [bug#57298] [PATCH 3/5] gnu: Add ocaml-crowbar pukkamustard
2022-08-20 12:05     ` Julien Lepiller
2022-08-22  9:45       ` pukkamustard
2022-08-19 15:24   ` [bug#57298] [PATCH 4/5] gnu: Add ocaml-eqaf pukkamustard
2022-08-19 15:24   ` [bug#57298] [PATCH 5/5] gnu: Add ocaml-digestif pukkamustard
2022-08-22  9:54 ` [bug#57298] [PATCH v2 1/5] gnu: Add ocaml-afl-persistent pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 2/5] gnu: Add ocaml-pprint pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 3/5] gnu: Add ocaml-crowbar pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 4/5] gnu: Add ocaml-eqaf pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 5/5] gnu: Add ocaml-digestif pukkamustard
2022-08-24 16:25     ` bug#57298: " Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220819152432.26135-1-pukkamustard@posteo.net \
    --to=pukkamustard@posteo.net \
    --cc=57298@debbugs.gnu.org \
    --cc=public@yoctocell.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).