|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.
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.
git clone https://github.com/davea42/tsearch-code
Releases are available on github at
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.
This work is licensed under a Creative Commons Attribution 4.0 International License.