COFF

COFF
Filename extension
none, .o, .obj, .lib[1]
Internet media typeapplication/x-coff, application/x-coffexec
Magic number
Developed byAT&T Corporation
Type of formatBinary, executable, object, shared libraries
Extended toXCOFF, ECOFF, Portable Executable, Executable and Linkable Format

The Common Object File Format (COFF) is a format for executable, object code, and shared library computer files used on Unix systems. It was introduced in Unix System V, replaced the previously used a.out format, and formed the basis for extended specifications such as XCOFF and ECOFF, before being largely replaced by ELF, introduced with SVR4. COFF and its variants continue to be used on some Unix-like systems, on Microsoft Windows (Portable Executable), in UEFI environments and in some embedded development systems.

  1. ^ "LIB Reference (Embedded Visual C++ Programmers Guide)". msdn.microsoft.com. Archived from the original on 2003-08-25. Retrieved 2021-02-04.
  2. ^ "IMAGE_FILE_HEADER structure (winnt.h)". 2018-05-12. Retrieved 2023-12-22.