Go to main content

SPARC Assembly Language Reference Manual

Exit Print View

Updated: November 2020
 
 

2.4 ELF Tools

    Oracle 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.

  • elfedit – A tool for examining or modifying the contents of an existing ELF object. Access is provided to most of the ELF data contained in an object, including the ELF header, section header table, program header table, dynamic section, hardware and software capabilities, string tables, and symbol tables.

  • 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.

  • 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.

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