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.