UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

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.





OBJDUMP

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 - Design Assistant N/A N/A
AR# 61489
日期 06/11/2018
状态 Active
Type 综合文章
Tools
  • Vivado Design Suite
的页面