Executable file formats for Windows (PE), Linux (ELF), OS / X, etc. (MACH-O) are typically designed to solve common problems, so they all have common features. However, each platform defines a different standard, so files are incompatible between platforms, even if the platforms use the same processor type.
Executable file formats are used not only for executable files, but also for libraries that also contain code, but never run directly by the user - they are only loaded into memory to satisfy the needs of directly executable binary files.
General functions of the executable file format:
- One or more blocks of executable code
- ,
- /
- , ( " " ), () .
- , , , .
, DOS .com, 64K "" , .
"" , . , 0 1.