elf-d 0.2.4

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.4 2018-Jul-08
0.2.3 2018-Jun-27
0.2.2 2018-Jun-24
0.2.1 2015-Jan-03
0.2.0 2014-Aug-22
Show all 9 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 3 downloads this month

  • 506 downloads total

Score:
1.7
Short URL:
elf-d.dub.pm