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:
|
|
|
|
|
2024-11-27 16:34:14 -05:00
|
|
|
`objdump -f {{path/to/binary}}`
|
2017-09-01 13:12:44 +05:30
|
|
|
|
2023-08-29 08:59:55 +02:00
|
|
|
- Display all header information:
|
|
|
|
|
2024-11-27 16:34:14 -05:00
|
|
|
`objdump -x {{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
|
|
|
|
2024-11-27 16:34:14 -05:00
|
|
|
`objdump -d {{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
|
|
|
|
2024-11-27 16:34:14 -05:00
|
|
|
`objdump -M intel -d {{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
|
|
|
|
2024-11-27 16:34:14 -05:00
|
|
|
`objdump -s {{path/to/binary}}`
|