Structs§
- In
winnt.h
, it’sIMAGE_FILE_HEADER
. COFF Header. - In
winnt.h
andpe.h
, it’sIMAGE_DOS_HEADER
. It’s a DOS header present in all PE binaries. - The DOS stub program which should be executed in DOS mode. It prints the message “This program cannot be run in DOS mode” and exits.
- The PE header.
- The TE header is a reduced PE32/PE32+ header containing only fields required for execution in the Platform Initialization (PI) architecture. The TE header is described in this specification: https://uefi.org/specs/PI/1.8/V1_TE_Image.html#te-header
Constants§
- Alpha AXP, 32-bit address space.
- Alpha AXP, 64-bit address space.
- Matsushita AM33.
- ARM little endian.
- ARM64 little endian.
- ARM Thumb-2 little endian.
- EFI byte code.
- Intel Itanium processor family.
- LoongArch 32-bit processor family.
- LoongArch 64-bit processor family.
- Mitsubishi M32R little endian.
- MIPS16.
- MIPS with FPU.
- MIPS16 with FPU.
- Power PC little endian.
- Power PC with floating point support.
- MIPS little endian.
- RISC-V 32-bit address space.
- RISC-V 64-bit address space.
- RISC-V 128-bit address space
- Hitachi SH3.
- Hitachi SH3 DSP.
- Hitachi SH4.
- Hitachi SH5.
- Thumb.
- The contents of this field are assumed to be applicable to any machine type.
- MIPS little-endian WCE v2.
- Intel 386 or later processors and compatible processors.
- x64 aka amd64.
- PE\0\0, little endian
Functions§
- Convert machine to str representation. Any case of “COFF_UNKNOWN” should be expected to change to a more specific value.