···
2
+
maintainer: "Edgar Aroutiounian <edgar.factorial@gmail.com>"
3
+
authors: [ "Edgar Aroutiounian <edgar.factorial@gmail.com>" ]
4
+
license: "BSD-3-Clause"
5
+
homepage: "https://github.com/fxfactorial/ocaml-radare2"
6
+
dev-repo: "git+https://github.com/fxfactorial/ocaml-radare2.git"
7
+
bug-reports: "https://github.com/fxfactorial/ocaml-radare2/issues"
9
+
["dune" "subst"] {pinned}
10
+
["dune" "build" "-p" name "-j" jobs]
13
+
"ocaml" {>= "4.03.0"}
16
+
"yojson" {>= "1.3.2"} | "yojson-android" {>= "1.3.2"}
20
+
"You need to have r2 (radare2) >= 2.3.0 installed and in your path"
21
+
"Use `opam depext radare2` to get it installed with your system package manager"
25
+
"Play with radare2 interactively from within an OCaml repl like utop"
28
+
"#require \"radare2\";;"
29
+
"let result = R2.with_command_j ~cmd:\"/j COLUMNS\" \"/bin/ls\";;
30
+
val result : Yojson.t =
33
+
[(\"offset\", `Int 109075); (\"type\", `String \"string\");
34
+
(\"data\", `String \"eQUOTING_STYLECOLUMNSTABSIZEinvalid\")];
36
+
[(\"offset\", `Int 118247); (\"type\", `String \"string\");
37
+
(\"data\", `String \"onment variable COLUMNS: %signori\")]]"
39
+
synopsis: "OCaml interface to r2"
41
+
Interact with radare2,
42
+
See the mli for documentation, example usage in utop:
44
+
#require "radare2";;
45
+
let result = R2.with_command_j ~cmd:"/j COLUMNS" "/bin/ls";;
46
+
val result : Yojson.t =
49
+
[("offset", `Int 109075); ("type", `String "string");
50
+
("data", `String "eQUOTING_STYLECOLUMNSTABSIZEinvalid")];
52
+
[("offset", `Int 118247); ("type", `String "string");
53
+
("data", `String "onment variable COLUMNS: %signori")]]\""""
55
+
src: "https://github.com/fxfactorial/ocaml-radare2/archive/v0.0.7.tar.gz"
57
+
"md5=4de0594aeea2495e5d992c14a696ebce"
58
+
"sha512=93a89d07941de6fdc3df3dd740ebfe3def6fb5eb775cc79e698dd9d0a1e0f83638c136708ddb1af0065d5f8b4aec4914f5c3286fbe2d4e5abc70e8c13032eb65"