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]
12depends: [
13 "ocaml" {>= "4.03.0"}
14 "dune" {>= "2.0"}
15 "base-unix"
16 "yojson" {>= "1.3.2"} | "yojson-android" {>= "1.3.2"}
17 "conf-radare2"
18]
19messages:[
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"
22]
23
24post-messages:[
25"Play with radare2 interactively from within an OCaml repl like utop"
26"Example in utop:"
27""
28"#require \"radare2\";;"
29"let result = R2.with_command_j ~cmd:\"/j COLUMNS\" \"/bin/ls\";;
30val result : Yojson.t =
31`List
32 [`Assoc
33 [(\"offset\", `Int 109075); (\"type\", `String \"string\");
34 (\"data\", `String \"eQUOTING_STYLECOLUMNSTABSIZEinvalid\")];
35 `Assoc
36 [(\"offset\", `Int 118247); (\"type\", `String \"string\");
37 (\"data\", `String \"onment variable COLUMNS: %signori\")]]"
38{success}]
39synopsis: "OCaml interface to r2"
40description: """
41Interact with radare2,
42See the mli for documentation, example usage in utop:
43
44#require "radare2";;
45let result = R2.with_command_j ~cmd:"/j COLUMNS" "/bin/ls";;
46val result : Yojson.t =
47`List
48 [`Assoc
49 [("offset", `Int 109075); ("type", `String "string");
50 ("data", `String "eQUOTING_STYLECOLUMNSTABSIZEinvalid")];
51 `Assoc
52 [("offset", `Int 118247); ("type", `String "string");
53 ("data", `String "onment variable COLUMNS: %signori")]]\""""
54url {
55 src: "https://github.com/fxfactorial/ocaml-radare2/archive/v0.0.7.tar.gz"
56 checksum: [
57 "md5=4de0594aeea2495e5d992c14a696ebce"
58 "sha512=93a89d07941de6fdc3df3dd740ebfe3def6fb5eb775cc79e698dd9d0a1e0f83638c136708ddb1af0065d5f8b4aec4914f5c3286fbe2d4e5abc70e8c13032eb65"
59 ]
60}