Welcome, Guest! Log In | Create Account

The ELF Tool Chain Project

The goal of this project is to create BSD licensed implementations of essential compilation tools for the ELF object file format.

Implementation Status

Native or POSIX mandated Tools

Tool Description Status Owner Repository Location Comments
ar Archiver kaiw ar/
as Assembler
brandelf Set ELF brand brandelf/
elfdump Diagnostic tool kaiw elfdump/
ld Link editor jkoshy
nm List symbols hglee nm/
ranlib Generate archive symbol table kaiw (see ar(1) above)
size List object sizes samarunraj size/
strings Extract printable strings samarunraj strings/
strip Discard symbols from objects kaiw (see elfcopy(1) below)

GNU Tools

Tool Description Status Owner Repository Location Comments
addr2line Debug tool kaiw addr2line/
elfcopy Copy and translate between formats kaiw elfcopy/
objdump Display object information Merge with elfdump?
readelf Display ELF information kaiw readelf/

Libraries and API sets

API Set Description Status Owner Repository Location Comments
libdwarf A library for parsing DWARF debug information kaiw libdwarf/ "pfgshield-freebsd" (email suppressed) notes that early versions of SGI's libdwarf library were released under a non-GPL'ed license.
libelf A library for handling ELF objects jkoshy libelf/
libelftc Common code used by tools libelftc/
"libmachinecode" Machine/assembly code manipulation. For use in an optimizing linker, debugger and assember. See the NJ Toolkit below.

Test Suites

Name Description Status Owner Repository Location Comments
libelf-test-suite A TET based test suite for libelf jkoshy libelf-test-suite/

Project Metadata

Project History

This work was originally a part of the FreeBSD Project; it has been moved to SourceForge.Net to encourage wider participation from the open-source developer community.

Related Reading