forked from radareorg/radare2-r2pipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_oasis
50 lines (45 loc) · 1.56 KB
/
_oasis
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- conf -*-
OASISFormat: 0.4
Name: radare2
Version: 0.0.1
Synopsis: OCaml interface to radare2
Authors: Edgar Aroutiounian <[email protected]>
Maintainers: Edgar Aroutiounian <[email protected]>
Homepage: https://github.com/fxfactorial/ocaml-radare2
License: BSD-3-clause
OCamlVersion: >= 4.03.0
AlphaFeatures: ocamlbuild_more_args
Plugins: META (0.4), DevFiles (0.4)
BuildTools: ocamlbuild, ocamldoc
Description:
Interact with radare2 from within OCaml.
See the mli for documentation, example usage in utop
.
"#require \"radare2\";;"
"let result = R2.with_command_j ~cmd:"/j chown" "/bin/ls";;
val result : Yojson.Basic.json =
`List
[`Assoc
[("offset", `Int 4294987375); ("id:", `Int 0);
("data", `String "ywritesecuritychownfile_inheritdi")]]"
Library radare2
Path: src
Modules: R2
install: true
NativeOpt: -g -w +a-4-40..42-44-45-48
ByteOpt: -g -w +a-4-40..42-44-45-48
BuildDepends: yojson (>= 1.3.2), unix
SourceRepository master
Type: git
Location: https://github.com/fxfactorial/ocaml-radare2.git
Browser: https://github.com/fxfactorial/ocaml-radare2
Document api
Title: Documentation and API reference for radare2
Type: ocamlbuild (0.4)
InstallDir: $htmldir/radare2
PostCommand: cp docs/style.css api.docdir && cp api.docdir/* docs
XOCamlbuildPath: docs
XOCamlbuildModules: src/R2
Install: true
XOCamlbuildExtraArgs:
"-docflags '-colorize-code -charset utf-8 -hide R2 -hide Pervasives'"