-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
183 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,4 @@ darwin/* | |
*.docdir | ||
|
||
setup.data | ||
setup.log | ||
|
||
META | ||
*.mldylib | ||
*.mllib | ||
setup.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
OASISFormat: 0.4 | ||
Plugins: META (0.4), DevFiles (0.4) | ||
Name: rdr | ||
Version: 2.0 | ||
Version: 2.0.1 | ||
Synopsis: Lightweight, cross platform binary parsing and analysis library with no dependencies | ||
Authors: m4b | ||
Homepage: http://github.com/m4b/rdr | ||
Maintainers: <[email protected]> | ||
License: BSD-3-clause | ||
Description: Rdr is a cross-platform binary analysis and reverse engineering library, | ||
utilizing a unique symbol map for global analysis. | ||
|
||
|
||
`rdr` is an OCaml tool/library for doing cross-platform analysis of binaries, | ||
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. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: 19245a18a78bafcbdce567c9476d0a71) | ||
version = "2.0.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "rdr.goblin rdr.utils rdr.mach rdr.elf" | ||
archive(byte) = "rdr.cma" | ||
archive(byte, plugin) = "rdr.cma" | ||
archive(native) = "rdr.cmxa" | ||
archive(native, plugin) = "rdr.cmxs" | ||
exists_if = "rdr.cma" | ||
package "utils" ( | ||
version = "2.0.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
archive(byte) = "utils.cma" | ||
archive(byte, plugin) = "utils.cma" | ||
archive(native) = "utils.cmxa" | ||
archive(native, plugin) = "utils.cmxs" | ||
exists_if = "utils.cma" | ||
) | ||
|
||
package "mach" ( | ||
version = "2.0.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "rdr.utils" | ||
archive(byte) = "mach.cma" | ||
archive(byte, plugin) = "mach.cma" | ||
archive(native) = "mach.cmxa" | ||
archive(native, plugin) = "mach.cmxs" | ||
exists_if = "mach.cma" | ||
) | ||
|
||
package "goblin" ( | ||
version = "2.0.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "rdr.utils rdr.mach rdr.elf" | ||
archive(byte) = "goblin.cma" | ||
archive(byte, plugin) = "goblin.cma" | ||
archive(native) = "goblin.cmxa" | ||
archive(native, plugin) = "goblin.cmxs" | ||
exists_if = "goblin.cma" | ||
) | ||
|
||
package "elf" ( | ||
version = "2.0.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "rdr.utils" | ||
archive(byte) = "elf.cma" | ||
archive(byte, plugin) = "elf.cma" | ||
archive(native) = "elf.cmxa" | ||
archive(native, plugin) = "elf.cmxs" | ||
exists_if = "elf.cma" | ||
) | ||
# OASIS_STOP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: dc13e6ca3cd0fe7a183086218f6af14f) | ||
version = "1.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "goblin utils" | ||
archive(byte) = "elf.cma" | ||
archive(byte, plugin) = "elf.cma" | ||
archive(native) = "elf.cmxa" | ||
archive(native, plugin) = "elf.cmxs" | ||
exists_if = "elf.cma" | ||
# OASIS_STOP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: c06468a8578c3570ca857b0f4da94952) | ||
version = "1.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "utils" | ||
archive(byte) = "goblin.cma" | ||
archive(byte, plugin) = "goblin.cma" | ||
archive(native) = "goblin.cmxa" | ||
archive(native, plugin) = "goblin.cmxs" | ||
exists_if = "goblin.cma" | ||
# OASIS_STOP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: 3a9fea97bc0f9f339ba064f211798e15) | ||
version = "1.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "utils goblin" | ||
archive(byte) = "mach.cma" | ||
archive(byte, plugin) = "mach.cma" | ||
archive(native) = "mach.cmxa" | ||
archive(native, plugin) = "mach.cmxs" | ||
exists_if = "mach.cma" | ||
# OASIS_STOP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: e8a47bb4a2b8113d81482c5b08352e15) | ||
version = "1.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
archive(byte) = "utils.cma" | ||
archive(byte, plugin) = "utils.cma" | ||
archive(native) = "utils.cmxa" | ||
archive(native, plugin) = "utils.cmxs" | ||
exists_if = "utils.cma" | ||
# OASIS_STOP | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Rdr is a cross-platform binary analysis and reverse engineering library, | ||
utilizing a unique symbol map for global analysis. | ||
|
||
`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 and Mach-o 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bin: [ | ||
"?_build/src/Rdr.byte" {"rdr"} | ||
"?_build/src/Rdr.native" {"rdr"} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
rdr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
opam-version: "1.2" | ||
name: "rdr" | ||
version: "2.0.1" | ||
maintainer: "<[email protected]>" | ||
authors: [ "m4b" ] | ||
license: "BSD-3-clause" | ||
homepage: "http://github.com/m4b/rdr" | ||
build: [ | ||
["ocaml" "setup.ml" "-configure" "--prefix" prefix] | ||
["ocaml" "setup.ml" "-build"] | ||
] | ||
install: ["ocaml" "setup.ml" "-install"] | ||
remove: [ | ||
["ocamlfind" "remove" "rdr"] | ||
] | ||
depends: [ | ||
"ocamlfind" | ||
] | ||
depopts: [ | ||
"base-unix" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# OASIS_START | ||
# DO NOT EDIT (digest: ba5008755c5582c056b0af13e4b5998d) | ||
version = "2.0.1" | ||
description = | ||
"Lightweight, cross platform binary parsing and analysis library with no dependencies" | ||
requires = "rdr.elf rdr.mach rdr.goblin rdr.utils str unix" | ||
archive(byte) = "rdrutils.cma" | ||
archive(byte, plugin) = "rdrutils.cma" | ||
archive(native) = "rdrutils.cmxa" | ||
archive(native, plugin) = "rdrutils.cmxs" | ||
exists_if = "rdrutils.cma" | ||
# OASIS_STOP | ||
|