AR# 61489


SDK - How get the Disassembled code of an ELF file


How can I see the disassembled code of an ELF binary file in SDK?


There are two ways to get the disassemble code from an ELF file.

Disassembly View

This method is only valid when a Debug session is running in the target.

In SDK, go to Window > Show View > Other and type disassembly, add the window, and it should then show the dissasembly view of the loaded ELF file.


Use the objdump binutil which displays information from object files to dump the disassembled code from a ELF file to a *.s file.

mb-objdump -D <ELF file name> > output.S;
arm-none-eabi-objdump -D <ELF file name> > output.S;
armr5-none-eabi-objdump -D <ELF file name> > output.S;
aarch64-none-elf-objdump -D <ELF file name> > output.S;



You can use a text-editor to view the test.s file:


Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
66297 SDK - Design Assistant N/A N/A
AR# 61489
Date 06/11/2018
Status Active
Type General Article
People Also Viewed