Skip to content

Commit

Permalink
updated to 2.0.1, added meta, etc.;
Browse files Browse the repository at this point in the history
  • Loading branch information
m4b committed Aug 17, 2015
1 parent 0ae2445 commit 7478b01
Show file tree
Hide file tree
Showing 13 changed files with 183 additions and 16 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,4 @@ darwin/*
*.docdir

setup.data
setup.log

META
*.mldylib
*.mllib
setup.log
8 changes: 2 additions & 6 deletions _oasis
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.

Expand Down
59 changes: 59 additions & 0 deletions lib/META
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

13 changes: 13 additions & 0 deletions lib/elf/META
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

13 changes: 13 additions & 0 deletions lib/goblin/META
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

13 changes: 13 additions & 0 deletions lib/mach/META
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

12 changes: 12 additions & 0 deletions lib/utils/META
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

25 changes: 25 additions & 0 deletions opam/descr
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
4 changes: 4 additions & 0 deletions opam/files/rdr.install
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"}
]
1 change: 1 addition & 0 deletions opam/findlib
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rdr
21 changes: 21 additions & 0 deletions opam/opam
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"
]
11 changes: 6 additions & 5 deletions setup.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* setup.ml generated for the first time by OASIS v0.4.5 *)

(* OASIS_START *)
(* DO NOT EDIT (digest: 1fc35b715026cea72f446cdddfe0aa84) *)
(* DO NOT EDIT (digest: 0ea9e89b8958ac74e5efeeee2e3deaea) *)
(*
Regenerated by OASIS v0.4.5
Visit http://oasis.forge.ocamlcore.org for more information and
Expand Down Expand Up @@ -6673,7 +6673,7 @@ let setup_t =
alpha_features = [];
beta_features = [];
name = "rdr";
version = "2.0";
version = "2.0.1";
license =
OASISLicense.DEP5License
(OASISLicense.DEP5Unit
Expand All @@ -6693,7 +6693,7 @@ let setup_t =
Some
[
OASISText.Para
"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";
"`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";
OASISText.Verbatim " offset, size, and exporting library";
OASISText.Para
"* 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)";
Expand Down Expand Up @@ -7026,14 +7026,15 @@ let setup_t =
};
oasis_fn = Some "_oasis";
oasis_version = "0.4.5";
oasis_digest = Some "\018]\160\171\133\t\167\180\159*\012Xj\019\004\181";
oasis_digest =
Some "\224p\218\230\235\135\236H\\\163\235\230\197\204\153>";
oasis_exec = None;
oasis_setup_args = [];
setup_update = false
};;

let setup () = BaseSetup.setup setup_t;;

# 7038 "setup.ml"
# 7039 "setup.ml"
(* OASIS_STOP *)
let () = setup ();;
13 changes: 13 additions & 0 deletions src/META
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

0 comments on commit 7478b01

Please sign in to comment.