以 PDF 格式下载本书 (6904 KB)
elfdump(1)Name | Synopsis | Description | Options | Operands | Usage | Files | Attributes | See Also Name
Synopsis
elfdump [-cCdegGhHiklmnPrsSuvy] [-p | -w file] [-I index-expr]
[-N name] [-O osabi] [-T type] filename...
DescriptionThe elfdump utility symbolically dumps selected parts of the specified object file(s). The options allow specific portions of the file to be displayed. The elfdump utility is similar in function to the dump(1) utility. The dump utility offers an older and less user-friendly interface than elfdump, although dump might be more appropriate for certain uses such as in shell scripts. Archive files, produced by ar(1), can also be inspected with elfdump. In this case, each object within the archive is processed using the options supplied. elfdump can display the ELF header, program header array, and section header array for any ELF object. It is also able to display the data found in the following types of sections:
Interpreter and global offset table sections do not have a special ELF section type, but are instead implemented as SHT_PROGBITS sections with well known names (.interp and .got respectively). elfdump is able to recognize and display these special sections. Sections used for stack unwinding and exception handling can have the ELF section type SHT_PROGBITS, or SHT_AMD64_UNWIND, depending on the compiler and platform involved. These sections are recognized by name: .eh_frame, .eh_frame_hdr, and .exception_ranges. When run without options to narrow the information displayed, elfdump displays all available information for each object. For a complete description of the displayed information, refer to the Linker and Libraries Guide. Options
The following options are supported: OperandsUsage
Matching OptionsThe options -I, -N, and -T are collectively referred to as the matching options. These options are used to narrow the range of program headers or sections to examine, by index, name, or type. The exact interpretation of the matching options depends on the other options used: Any number and type of matching option can be mixed in a given invocation of elfdump. In this case, elfdump displays the superset of all items matched by any of the matching options used. This feature allows for the selection of complex groupings of items using the most convenient form for specifying each item. FilesAttributesSee attributes(5) for descriptions of the following attributes:
See AlsoSunOS 5.11 Last Revised 3 Apr 2009Name | Synopsis | Description | Options | Operands | Usage | Files | Attributes | See Also |
||||||||||||||||||