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 ["dune" "subst"] {dev}
10 ["dune" "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 "dune" {>= "2.0"}
22 "base-unix"
23 "yojson" {>= "1.3.2"} | "yojson-android" {>= "1.3.2"}
24]
25messages:[
26"You need to have r2 (radare2) >= 2.3.0 installed and in your path"
27"Use `opam depext radare2` to get it installed with your system package manager"
28]
29
30post-messages:[
31"Play with radare2 interactively from within an OCaml repl like utop"
32"Example in utop:"
33""
34"#require \"radare2\";;"
35"let result = R2.with_command_j ~cmd:\"/j COLUMNS\" \"/bin/ls\";;
36val result : Yojson.t =
37`List
38 [`Assoc
39 [(\"offset\", `Int 109075); (\"type\", `String \"string\");
40 (\"data\", `String \"eQUOTING_STYLECOLUMNSTABSIZEinvalid\")];
41 `Assoc
42 [(\"offset\", `Int 118247); (\"type\", `String \"string\");
43 (\"data\", `String \"onment variable COLUMNS: %signori\")]]"
44{success}]
45synopsis: "OCaml interface to r2"
46description: """
47Interact with radare2,
48See the mli for documentation, example usage in utop:
49
50#require "radare2";;
51let result = R2.with_command_j ~cmd:"/j COLUMNS" "/bin/ls";;
52val result : Yojson.t =
53`List
54 [`Assoc
55 [("offset", `Int 109075); ("type", `String "string");
56 ("data", `String "eQUOTING_STYLECOLUMNSTABSIZEinvalid")];
57 `Assoc
58 [("offset", `Int 118247); ("type", `String "string");
59 ("data", `String "onment variable COLUMNS: %signori")]]\""""
60url {
61 src: "https://github.com/fxfactorial/ocaml-radare2/archive/v0.0.6.tar.gz"
62 checksum: [
63 "md5=bec95d9d6d82c72977f81c9cbc8baba0"
64 "sha512=92f4f534b84420da2294992ca519e656020ab5529ad93e31e8107484fe4659667f6f7dde157c8e0c8baa45f6947e711e162686399031b666507594c21fad8dbe"
65 ]
66}