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" {>= "1.2"}
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 chown\" \"/bin/ls\";;
36val result : Yojson.Basic.json =
37`List
38 [`Assoc
39 [(\"offset\", `Int 4294987375); (\"id:\", `Int 0);
40 (\"data\", `String \"ywritesecuritychownfile_inheritdi\")]]"
41{success}]
42synopsis: "OCaml interface to r2"
43description: """
44Interact with radare2,
45See the mli for documentation, example usage in utop:
46
47#require "radare2";;
48let result = R2.with_command_j ~cmd:"/j chown" "/bin/ls";;
49val result : Yojson.Basic.json =
50`List
51 [`Assoc
52 [("offset", `Int 4294987375); ("id:", `Int 0);
53 ("data", `String "ywritesecuritychownfile_inheritdi")]]\""""
54url {
55 src: "https://github.com/fxfactorial/ocaml-radare2/archive/v0.0.3.tar.gz"
56 checksum: [
57 "md5=6ecfc6fe053f21e526ad2ecf185cffce"
58 "sha512=353979cdac9322817dc55991a4d5d07c655219a02c2b2127581ec3dfddf760e24da7b99a2e8af06235676c05ba21daa6033543de2a1b8b7893a7d8b8b1f80ad3"
59 ]
60}