Useful linux commands: readelf, ldd, od

Posted on June 8, 2007. Filed under: Uncategorized | Tags: , , , , , |

readelf

readelf displays information about the contents of one or more ELF format object files.   The options control what particular information to display.  elf files are the object files to be examined.  32-bit and 64-bit ELF files are supported, also archives containing ELF files.  This program performs a similar function to objdump but it goes into more detail and it exists independently of the BFD library, so if there is a bug in BFD then readelf will not be affected.

BFD – Binary File Descriptor.  Is a package which allows applications to use the same routines to operate on object files whatever the object file format (http://www.gnu.org/).

http://linux.about.com/library/cmd/blcmdl1_readelf.htm

ldd

ldd prints the shared libraries required by each program or shared library specified on the command line

http://linux.about.com/library/cmd/blcmdl1_ldd.htm

http://linux.byexamples.com/archives/409/how-to-list-shared-library-dependencies-used-by-an-application/

od

od will dump files in octal and other formats.  Write an unambiguous representation, octal bytes by default, of a FILE to standard output.  With more than one FILE argument, concatenate them in the listed order to form the input.  With no FILE, or when FILE is -, read standard input.

http://linux.die.net/man/1/od

Others:

nm, objdump, objcopy,size, strings

reference:

http://www.tenouk.com/Module111linuxutility1.html

http://www.tenouk.com/Module000linuxnm3.html

http://www.tenouk.com/Module111.html

Advertisements
Read Full Post | Make a Comment ( None so far )

Liked it here?
Why not try sites on the blogroll...