Disassembly tool usage

Source: Internet
Author: User

Kernel development, Kernel panic is more common. According to the exception stack, we can usually locate the approximate location of code errors, but sometimes we still need to use the Disassembly tool to help us locate some exceptions, objdump.

This Disassembly tool exists in the prebuilts/GCC/linux-x86/ARM/gcc-linaro-aarch64-linux-gnu/bin/folder, you can refer to the following usage:

1) prebuilts/GCC/linux-x86/ARM/gcc-linaro-aarch64-linux-gnu/bin/aarch64-linux-android-objdump vmlinux> 1.txt kernel image disassembly, can be printed according to oops PC search where error;

There is also a tool in this folder that can indicate which row of the file has an error based on the address. The usage is as follows:

(2) prebuilts/GCC/linux-x86/ARM/gcc-linaro-aarch64-linux-gnu/bin/aarch64-linux-android-addr2line-A address to query-e vmlinux

Disassembly tool usage

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.