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:




Answer Number 问答标题 问题版本 已解决问题的版本
66297 SDK - 设计助手 N/A N/A
AR# 61489
日期 06/11/2018
状态 Active
Type 综合文章
People Also Viewed