1.

What Are The Sections In A Dll Executable/binary?

Answer»

Every DLLS are regular PE executable in windows or ELF binary in Linux. Thus it has sections like CODE/.TEXT, .DATA,.BSS etc. 

  • CODE/.TEXT - section contains executable hex code.
  • .DATA - section contains global/static data values.
  • .BSS - section is for un-initialized global/static values 

There are also two major section of a DLL executable. They are import section and export section.

  • Import section(.idata): Defines the list of symbols/functions it imports from an external executables/modules.
  • Export Section(.edata): Defines the list of symbols/functions that DLL itself EXPOSES to external world to use.

Any executable in windows follows PE/COFF portable executable and common object format. These FORMATS defines how code area, data area and other AREAS will be arranged. 

There are several tools available to see the various sections of a PE executable. Some of the well known tools are PE Viewer, PE Explorer etc.

Every DLLs are regular PE executable in windows or ELF binary in Linux. Thus it has sections like CODE/.TEXT, .DATA,.BSS etc. 

There are also two major section of a DLL executable. They are import section and export section.

Any executable in windows follows PE/COFF portable executable and common object format. These formats defines how code area, data area and other areas will be arranged. 

There are several tools available to see the various sections of a PE executable. Some of the well known tools are PE Viewer, PE Explorer etc.



Discussion

No Comment Found