Arm's Bin file disassembly method

Source: Internet
Author: User

Recently, when debugging Uboot's code, the new version of the Uboot,lowlevel_init function is empty, and no links to LOWLEVEL_INIT.O are found in the link file. Two lights were added before and after BL Lowlevel_init, and it was found that the part after BL was not executed, so I wanted to see if the program had run this function. Find the way to the disassembly bin file on the Internet, it is very useful to find a friend to provide.

Use the arm-linux-objdump inside the Arm-linux tool chain to disassemble

CD to the directory where the bin file is located, enter it at the command line:

arm-linux-objdump-d-B binary-m arm xxx.bin > Xxx.asm

Parameters:-D decompile All code-M host type, arm-b file format, binary

For Elf-formatted files, only one-D parameter can be

You can disassemble the Xxx.bin to the Xxx.asm file.

Arm's Bin file disassembly method

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.