The secret in the target file.

Source: Internet
Author: User

The target file contains instruction code, data, and links links Some of the information you need, such as symbol tables, debugging information, string tables, and so on. The generic target file classifies this information in different attributes and stores it as "segments". This article will be in the Linux environment, with the Bjdump, readelf tools to see the specific form of the target file storage , the target file is compiled by the C language after the execution of statements placed in the. Text field, the initialized global variables and local static variables are placed in the. Data segment, uninitialized global variables and local static variables are placed in the. BSS section, and the basic attributes of each segment in the elf file are placed in the. Symtab segment, which is important for the relocation table as well as the elf file header.



See Accessories

The secret in the target file.

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.