2017-09-01 13:12:44 +05:30
|
|
|
# objdump
|
|
|
|
|
2017-09-02 00:29:41 +05:30
|
|
|
> View information about object files.
|
2021-10-06 16:34:03 -07:00
|
|
|
> More information: <https://manned.org/objdump>.
|
2017-09-01 13:12:44 +05:30
|
|
|
|
|
|
|
- Display the file header information:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`objdump {{[-f|--file-headers]}} {{path/to/binary}}`
|
2017-09-01 13:12:44 +05:30
|
|
|
|
2023-08-29 08:59:55 +02:00
|
|
|
- Display all header information:
|
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`objdump {{[-x|--all-headers]}} {{path/to/binary}}`
|
2023-08-29 08:59:55 +02:00
|
|
|
|
2022-08-27 10:13:55 -04:00
|
|
|
- Display the disassembled output of executable sections:
|
2017-09-01 13:12:44 +05:30
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`objdump {{[-d|--disassemble]}} {{path/to/binary}}`
|
2017-09-01 13:12:44 +05:30
|
|
|
|
2024-11-27 16:34:14 -05:00
|
|
|
- Display the disassembled executable sections in Intel syntax:
|
2022-08-27 10:13:55 -04:00
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`objdump {{[-M|--disassembler-options]}} intel {{[-d|--disassemble]}} {{path/to/binary}}`
|
2022-08-27 10:13:55 -04:00
|
|
|
|
2017-09-02 00:29:41 +05:30
|
|
|
- Display a complete binary hex dump of all sections:
|
2017-09-01 13:12:44 +05:30
|
|
|
|
2025-04-22 06:20:48 +03:00
|
|
|
`objdump {{[-s|--full-contents]}} {{path/to/binary}}`
|