elf-d 0.2.1

A library to introspect elf binaries


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

dub.json
dub.sdl

This package provides sub packages which can be used individually:

elf-d:example - A library to introspect elf binaries


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

Authors:Yazan Dabain

Sub packages:elf-d:example

Dependencies: none

Versions:
0.2.1 2015-Jan-03
0.2.0 2014-Aug-22
0.1.1 2014-Aug-02
0.1.0 2014-Aug-01
~master 2016-Sep-28
Show all 6 versions
Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 472 downloads total