-
Notifications
You must be signed in to change notification settings - Fork 10
/
_oasis
182 lines (168 loc) · 3.7 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
OASISFormat: 0.4
Plugins: META (0.4), DevFiles (0.4)
Name: rdr
Version: 3.0.0
Synopsis: Lightweight, cross platform binary parsing and analysis library
Authors: m4b
Homepage: http://github.com/m4b/rdr
Maintainers: <[email protected]>
License: BSD-3-clause
Description:`rdr` is an OCaml tool/library for doing cross-platform analysis of binaries,
by printing headers, locating entry points, showing import and export
symbols, their binary offsets and size, etc.
It also features a symbol map which allows fast lookups for arbitrary
symbols, and their associated data, on your system
(the default search location are binaries in /usr/lib).
The latest release also makes `rdr` a package which you can link against
and use in your own projects.
See the README at http://github.com/m4b/rdr for more details.
Features:
* 64-bit Linux, Mach-o, 32-bit PE binary analysis
* Searchable symbol-map of all the symbols on your system, including binary
offset, size, and exporting library
* Print imports and exports of binaries
* Make pretty graphs, at the binary or symbol map level
* Byte Coverage algorithm which marks byte sequences as understood (or not)
and provides other meta-data
Library "utils"
Path: lib/utils
BuildTools: ocamlbuild
FindLibParent: rdr
FindLibName: utils
CompiledObject: best
BuildDepends: unix, str
Modules:
RdrUtils,
Binary,
Input,
Leb128,
ByteCoverage,
Generics,
RdrPrinter,
RdrCommand,
RdrStorage
Library "mach"
Path: lib/mach
BuildTools: ocamlbuild
FindLibParent: rdr
FindLibName: mach
CompiledObject: best
Modules:
Mach,
MachBindOpcodes,
MachCpuTypes,
MachFat,
MachThread64,
MachLoadCommand,
MachLoadCommandTypes,
MachConstants,
MachExports,
MachHeader,
MachImports,
MachSection,
MachSymbolTable,
MachRebaseOpcodes,
MachVersion,
MachCoverage,
MachLoadCommandMacro
BuildDepends:
rdr.utils
Library "elf"
Path: lib/elf
FindLibParent: rdr
FindLibName: elf
BuildTools: ocamlbuild
CompiledObject: best
Modules:
Elf,
ElfHeader,
ElfProgramHeader,
ElfSectionHeader,
ElfVersion,
ElfConstants,
ElfDynamic,
ElfReloc,
ElfSymbolTable,
ElfCoverage
BuildDepends:
rdr.utils
Library "pe"
Path: lib/pe
FindLibParent: rdr
FindLibName: pe
BuildTools: ocamlbuild
CompiledObject: best
Modules:
PE,
PEHeader,
PEOptionalHeader,
PESectionTable,
PEDataDirectories,
PEImport,
PEExport,
PEMachineType,
PECharacteristic,
PEByteCoverage,
PEUtils
BuildDepends:
rdr.utils
Library "goblin"
Path: lib/goblin
BuildTools: ocamlbuild
FindLibParent: rdr
FindLibName: goblin
CompiledObject: best
Modules:
Goblin,
GoblinExport,
GoblinImport,
GoblinTree
BuildDepends:
rdr.utils,
rdr.mach,
rdr.elf,
rdr.pe
Library "rdr"
Path: lib
FindLibName: rdr
BuildTools: ocamlbuild
CompiledObject: best
Modules:
Rdr,
RdrObject,
RdrGraph,
SymbolMap,
TransitiveClosure
BuildDepends:
rdr.goblin,
rdr.utils,
rdr.mach,
rdr.elf,
rdr.pe
Library "rdrutils"
Path: src
BuildTools: ocamlbuild
Install: false
CompiledObject: best
Modules:
Config,
ReadMach,
ReadElf,
ReadPE
BuildDepends:
rdr.pe,
rdr.elf,
rdr.mach,
rdr.goblin,
rdr.utils,
rdr,
str,
unix
Executable "rdr"
Path: src
MainIs: main.ml
BuildTools: ocamlbuild
CompiledObject: best
BuildDepends:
rdrutils,
str