SPARC Assembly Language Reference Manual

Exit Print View

Updated: July 2014
 
 

2.4 Tools

Solaris provides a number of command-line tools to display, analyze, and modify the functional components of object and executable files, such as the following:

  • elfdump — The elfdump utility symbolically dumps selected parts of the specified object file(s). The options allow specific portions of the file to be displayed.

  • dump — The dump utility dumps selected parts of each of its object file arguments, and is best suited for use in shell scripts, while the elfdump command is recommended for more human-readable output.

  • /usr/sfw/bin/greadelfgreadelf displays information about one or more ELF format object files. The options control what particular information to display.

  • mcs — The mcs command is used to manipulate a section in an ELF object file.

  • dis — The dis command produces an assembly language listing of an object file or an archive of object files. The listing includes assembly statements and an octal or hexadecimal representation of the binary that produced those statements.

  • /usr/sfw/bin/gobjdumpgobjdump displays information about one or more object files. The options control what particular information to display.