Fun:
The PE
file format divides the executable file into several data sections (
section
), and different resources are stored in different sections.
The sections contained in a typical
PE
file are as follows.
.text
is generated by the compiler and stores the binary machine code, which is also the object of our disassembly and debugging.
.data
initialized data blocks, such as macro definitions, global variables, static variables, etc.
Information about foreign functions and files such as dynamic link libraries used by .idata
executable files.
.rsrc
stores program resources, such as icons, menus, etc.