Freedom of Speech, Privacy, Science

I have not received any National Security Letter.

Please join the Electronic Frontier Foundation ( EFF.org ) and the fight for your rights on the Internet.

Please join the Union of Concerned Scientists ( uscusa.org ) in bringing science into improving all our lives (everyone is welcome to join).

Public Domain works are a vital part of any culture and there are repeated attempts to erode the Public Domain. For more information see the Center for the Study of the Public Domain at Duke University.

HOME Software Lotus Cars DWARF Kindle Solar
graphic with lotus elise and lotus elan

David A's object reader resources

Using readelfobj, readobjmacho, readobjpe

Coverity Scan Build Status

This project started when libdwarf wanted access to non-ELF objects containing DWARF information. So I wrote these standalone programs as proof one can get access fairly easily. They continue to exist as they print major section information by default so for basic easy access they are a bit easier to use than GNU readelf.

These functions only rely on libc, no other libraries are needed.

For details in objects beyond what these provide GNU readelf and GNU objdump (both part of binutils packages) are useful.

https://github.com/davea42/readelfobj-code is the source repository.

Clone with

git clone https://github.com/davea42/tsearch-code

Releases are available on github at

https://github.com/davea42/readelfobj-code/releases

readelfobj prints Elf object headers. It has options to print details on more than just section headers.

readobjmacho prints MachO object headers relevant to DWARF information.

readobjpe prints PE (Windows) object headers. relevant to DWARF information.

object_detector decides if a given object is Elf, MachO, or PE and returns information saying which format it is or reports the format is unknown.

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.