For more information, see options:
-- Archive-headers
-A: displays the member information of the archive, which is similar to that of ar TV.Objdump-A Libpcap.
Comparison with the ar-TV Libpcap. A display result
Obviously, this option is meaningless.
-- Adjust-VMA = offset
When dumping information, first add offset to all
The section addresses. This is useful if the sec-
Tion addresses do not correspond to the symbol
Table, which can happen when putting sections
Particle ses SSEs when using a format which can
Not Represent section addresses, such as A. Out.
-B bfdname
-- Target = bfdname
Specify the target format. This is not necessary. objdump can automatically recognize many formats,
For example: objdump-B oasys-M VAX-H Fu. o
Displays the summary of the Fu. O header, explicitly indicating that the file is oasys In the VAX system.
The target file generated by the compiler. Objdump-I will show what can be specified here
Target code format list
-- Demangle
-C decodes the underlying symbolic names into user-level names, except for removing all prefixes
In addition to the underline, the C ++ function name is displayed in an understandable way.
-- Debugging
Displays debugging information. Attempt to parse the debugging information stored in the file and use the C Language
. Only some types of debugging information are supported.
-- Disassemble
-D. disassemble the sections with the instruction machine code.
-- Disassemble-all
-D is similar to-D, but disassembles all sections.
-- Prefix-Addresses
The complete address of each line is displayed during disassembly. This is an old disassembly format.
The display effect is not ideal, but some of them may be used for comparison.
-- Disassemble-Zeroes
Generally, the zero part of the large part will be omitted in the disassembly output. This option will make the zero part be decompiled.
-EB
-El
-- Endian = {big | little}
This option will affect the decompiling command.
Little-Endian is what we often say when we were playing assembly under DOS,
This is the case for x86.
-- File-headers
-F displays the overall header summary of each object in the objfile.
-- Section-headers
-- Headers
-H: displays the header summary of each section in the target file.
-- Help brief help information.
-- Info
-I displays the list of architectures and target formats available for-B or-m options.
-- Section = Name
-J name only displays the information of the specified section.
-- Line-Numbers
-L mark the target code with the file name and line number, and only use it with-D,-D, or-R.
The difference between using-LD and using-D is not great. It is useful in source code-level debugging and requires
Debugging and compilation options such as-G are used during compilation.
-- Architecture = Machine
-M Machine
The architecture used to specify the target file for disassembly.
This option is useful for architecture information (such as S-records. You can use the-I option.
List the architectures that can be specified here
-- Reloc
-R displays the relocation entry of the file. If it is used with-D or-D, the relocation part is reversed.
The edited format is displayed.
-- Dynamic-reloc
-R: displays the dynamic relocation entry of a file, which is only meaningful to the dynamic target file, for example, some
Shared library.
-- Full-Contents
-S: displays the complete content of the specified section.
Objdump -- Section =. Text-s inet. o | more
-- Source
-S decomassembles the source code as much as possible, especially when the-G debugging parameter is specified during compilation,
The effect is obvious. The-D parameter is hidden.
-- Show-raw-insn
During disassembly, the machine code corresponding to each assembly instruction is displayed, unless
-- Prefix-addresses, which is the default option.
-- No-show-raw-insn
During disassembly, the machine code of the Assembly command is not displayed. This is the -- prefix-addresses parameter.
Option.
-- Stabs
Display the contents of the. Stab,. Stab. index, and
. Stab. excl sections from an elf file. This is only
Useful on systems (such as Solaris 2.0) in which
. Stab debugging symbol-table entries are carried in
An elf section. In most other file formats, debug-
Ging symbol-table entries are interleaved
Linkage symbols, and are visible in the -- Syms output.
-- Start-address = address
Data is displayed from the specified address. This option affects the output of the-D,-R, and-s options.
-- Stop-address = address
Displays data until the specified address. This option affects the output of the-D,-R, and-s options.
-- Syms
-T indicates the entry to the symbol table of the file. Similar to the information provided by nm-S
-- Dynamic-Syms
-T displays the file's dynamic symbol table entry, which is only meaningful to the dynamic target file, for example, some
Shared library. The information displayed is similar to the information displayed by nm-d | -- Dynamic.
-- Version Version
Objdump -- version
-- All-headers
-X displays all available header information, including the symbol table and relocation entry. -X is equivalent
-A-f-h-r-t is specified at the same time.
Objdump-x inet. o