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) 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.Basic.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.Basic.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.4.tar.gz"
62 checksum: [
63 "md5=e9e598e6ac036eb4bc002740b7b04b01"
64 "sha512=393bc4a3d8554410f2605b97a37f1bd72a722dc8af3c84747be6285e0607b70d58f73d89ed589bfda5570cc1a469ba477d3da9fb74995199a14e1cbf2d97527c"
65 ]
66}