Description

A library to introspect elf binaries

Package Information

Version0.2.1 (2015-Jan-03)
Repository https://github.com/yazd/elf-d
LicenseBSL 1.0
CopyrightCopyright © 2014, Yazan Dabain
AuthorsYazan Dabain
Registered byYazan Dabain
Sub packages
elf-d:example
A library to introspect elf binaries
Dependencies none

Installation

To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Readme

elf-d

Reads 32-bit and 64-bit elf binary files.

Features

  • Read general elf file properties like file class, abi version, machine isa, ...
  • Parse elf sections.
  • Read elf symbol tables and string tables.
  • Read DWARF line program tables and produce address info (.debug_line section).

How to run example

Run dub run elf-d:example in the parent directory. (Note: running the example produces a lot of output to stdout)

TODOs

  • Fix endianness issue (currently only native endianness is supported).
  • Add interpretation for more sections.

License

Licensed under Boost. Check accompanying file LICENSE10.txt or copy at http://www.boost.org/LICENSE10.txt

Available versions

0.2.1 0.2.0 0.1.1 0.1.0 ~master ~symboltable