this repo has no description
1opam-version: "2.0"
2maintainer: "Edgar Aroutiounian <edgar.factorial@gmail.com>"
3authors: [ "Edgar Aroutiounian <edgar.factorial@gmail.com>" ]
4license: "BSD-3-Clause"
5homepage: "https://github.com/fxfactorial/ocaml-radare2"
6dev-repo: "git+https://github.com/fxfactorial/ocaml-radare2.git"
7bug-reports: "https://github.com/fxfactorial/ocaml-radare2/issues"
8build: [
9 ["jbuilder" "subst" "-p" name] {dev}
10 ["jbuilder" "build" "-p" name "-j" jobs]
11]
12depexts: [
13 ["radare2"] {os-family = "debian"}
14 ["radare2"] {os-distribution = "fedora"}
15 ["radare2"] {os-distribution = "arch"}
16 ["radare2"] {os-distribution = "gentoo"}
17 ["radare2"] {os-distribution = "homebrew" & os = "macos"}
18]
19depends: [
20 "ocaml" {>= "4.03.0"}
21 "jbuilder" {>= "1.0+beta7"}
22 "ocamlbuild" {build}
23 "ocamlfind" {build}
24 "base-unix"
25 "yojson" {>= "1.3.2"} | "yojson-android" {>= "1.3.2"}
26]
27messages:[
28"You need to have r2 (radare2) installed and in your path"
29"Use `opam depext radare2` to get it installed with your system package manager"
30]
31
32post-messages:[
33"Play with radare2 interactively from within an OCaml repl like utop"
34"Example in utop:"
35""
36"#require \"radare2\";;"
37"let result = R2.with_command_j ~cmd:\"/j chown\" \"/bin/ls\";;
38val result : Yojson.Basic.json =
39`List
40 [`Assoc
41 [(\"offset\", `Int 4294987375); (\"id:\", `Int 0);
42 (\"data\", `String \"ywritesecuritychownfile_inheritdi\")]]"
43{success}]
44synopsis: "OCaml interface to r2"
45description: """
46Interact with radare2,
47See the mli for documentation, example usage in utop:
48
49#require "radare2";;
50let result = R2.with_command_j ~cmd:"/j chown" "/bin/ls";;
51val result : Yojson.Basic.json =
52`List
53 [`Assoc
54 [("offset", `Int 4294987375); ("id:", `Int 0);
55 ("data", `String "ywritesecuritychownfile_inheritdi")]]\""""
56url {
57 src: "https://github.com/fxfactorial/ocaml-radare2/archive/v0.0.2.tar.gz"
58 checksum: [
59 "sha256=ada491478173f590901111d98df748af20d45dd16cbf37a483c7ea3c6b036c58"
60 "md5=63a1a06ffe646acde3a5f38f3c0d5b7e"
61 ]
62}