Readelf
readelf is a program for displaying various information about object files on Unix-like systems such as objdump. It is part of the GNU binutils.
readelf and objdump
objdump has a similar function but with different features like disassembling. The main difference is that readelf does not depend on BFD and helps to check if BFD works.[1]
Example
The following command displays the contents of the file's dynamic section (to examine the shared library dependencies and rpath): [2]
$ readelf -d <file name>
References
- "readelf vs. objdump: why are both needed" on StackOverflow".
- "readelf(1) - Linux manual page". man7.org. Retrieved 2021-04-09.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.