Readelf
Jump to navigation
Jump to search
This article provides insufficient context for those unfamiliar with the subject.(July 2018) |
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.