Sure. Here is the help output for the objdump command:
objdump - display information about object files
Usage: objdump [options] object file...
Options:
-a, --archive-header
Display archive header information.
-b bfdname, --target=bfdname
Specify the object-code format for the object files.
-c, --disassembler-option=option
Pass option to the disassembler.
-C, --demangle[=style]
Decode (demangle) low-level symbol names into user-level names.
-d, --disassemble
Display the disassembly of the input file.
-D, --disassemble-all
Display the disassembly of all sections of the input file.
-e, --file-headers
Display the file headers of the input file.
-f, --file-format
Display the file format of the input file.
-g, --debugging-info
Display debugging information.
-G, --full-contents
Display the full contents of all sections.
-h, --headers
Display the section headers of the input file.
-H, --headers-only
Display only the section headers of the input file.
-i, --info
List the available object file formats.
-l, --line-numbers
Display line numbers for each disassembled instruction.
-L, --source-listing
Display a source listing for each disassembled instruction.
-m machine, --machine=machine
Specify the machine type for the input file.
-n, --no-show-raw-insns
Do not show the raw instructions.
-p, --private-headers
Display the private headers of the input file.
-P, --private-headers-only
Display only the private headers of the input file.
-r, --reverse-disassembly
Display the disassembly in reverse order.
-R, --reverse-source-listing
Display the source listing in reverse order.
-s, --section-headers
Display the section headers of the input file.
-S, --section-headers-only
Display only the section headers of the input file.
-t, --symbol-table
Display the symbol table of the input file.
-T, --dynamic-symbol-table
Display the dynamic symbol table of the input file.
-v, --version
Display the version number of objdump.
-V, --verbose
Display more information.
-x, --all-headers
Display all headers.
Examples:
objdump -d a.out
Display the disassembly of a.out.
objdump -C -d a.out
Decode (demangle) low-level symbol names into user-level names and display the disassembly of a.out.
objdump -h a.out
Display the file headers of a.out.
objdump -s a.out
Display the section headers of a.out.
objdump -t a.out
Display the symbol table of a.out.
For more information, please see the objdump man page.
'프로그래밍 > 기계어' 카테고리의 다른 글
objdump command (0) | 2023.05.30 |
---|---|
CentOS로 기계어 보는 방법 (0) | 2023.05.26 |