LLVM  14.0.0git
COFF.h
Go to the documentation of this file.
1 //===-- llvm/BinaryFormat/COFF.h --------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file contains an definitions used in Windows COFF Files.
10 //
11 // Structures and enums defined within this file where created using
12 // information from Microsoft's publicly available PE/COFF format document:
13 //
14 // Microsoft Portable Executable and Common Object File Format Specification
15 // Revision 8.1 - February 15, 2008
16 //
17 // As of 5/2/2010, hosted by Microsoft at:
18 // http://www.microsoft.com/whdc/system/platform/firmware/pecoff.mspx
19 //
20 //===----------------------------------------------------------------------===//
21 
22 #ifndef LLVM_BINARYFORMAT_COFF_H
23 #define LLVM_BINARYFORMAT_COFF_H
24 
25 #include "llvm/Support/DataTypes.h"
26 #include <cassert>
27 #include <cstring>
28 
29 namespace llvm {
30 namespace COFF {
31 
32 // The maximum number of sections that a COFF object can have (inclusive).
33 const int32_t MaxNumberOfSections16 = 65279;
34 
35 // The PE signature bytes that follows the DOS stub header.
36 static const char PEMagic[] = {'P', 'E', '\0', '\0'};
37 
38 static const char BigObjMagic[] = {
39  '\xc7', '\xa1', '\xba', '\xd1', '\xee', '\xba', '\xa9', '\x4b',
40  '\xaf', '\x20', '\xfa', '\xf6', '\x6a', '\xa4', '\xdc', '\xb8',
41 };
42 
43 static const char ClGlObjMagic[] = {
44  '\x38', '\xfe', '\xb3', '\x0c', '\xa5', '\xd9', '\xab', '\x4d',
45  '\xac', '\x9b', '\xd6', '\xb6', '\x22', '\x26', '\x53', '\xc2',
46 };
47 
48 // The signature bytes that start a .res file.
49 static const char WinResMagic[] = {
50  '\x00', '\x00', '\x00', '\x00', '\x20', '\x00', '\x00', '\x00',
51  '\xff', '\xff', '\x00', '\x00', '\xff', '\xff', '\x00', '\x00',
52 };
53 
54 // Sizes in bytes of various things in the COFF format.
55 enum {
58  NameSize = 8,
63 };
64 
65 struct header {
73 };
74 
75 struct BigObjHeader {
76  enum : uint16_t { MinBigObjectVersion = 2 };
77 
78  uint16_t Sig1; ///< Must be IMAGE_FILE_MACHINE_UNKNOWN (0).
79  uint16_t Sig2; ///< Must be 0xFFFF.
83  uint8_t UUID[16];
91 };
92 
93 enum MachineTypes : unsigned {
94  MT_Invalid = 0xffff,
95 
121 };
122 
123 enum Characteristics : unsigned {
125 
126  /// The file does not contain base relocations and must be loaded at its
127  /// preferred base. If this cannot be done, the loader will error.
129  /// The file is valid and can be run.
131  /// COFF line numbers have been stripped. This is deprecated and should be
132  /// 0.
134  /// COFF symbol table entries for local symbols have been removed. This is
135  /// deprecated and should be 0.
137  /// Aggressively trim working set. This is deprecated and must be 0.
139  /// Image can handle > 2GiB addresses.
141  /// Little endian: the LSB precedes the MSB in memory. This is deprecated
142  /// and should be 0.
144  /// Machine is based on a 32bit word architecture.
146  /// Debugging info has been removed.
148  /// If the image is on removable media, fully load it and copy it to swap.
150  /// If the image is on network media, fully load it and copy it to swap.
152  /// The image file is a system file, not a user program.
154  /// The image file is a DLL.
155  IMAGE_FILE_DLL = 0x2000,
156  /// This file should only be run on a uniprocessor machine.
158  /// Big endian: the MSB precedes the LSB in memory. This is deprecated
159  /// and should be 0.
161 };
162 
163 enum ResourceTypeID : unsigned {
166  RID_Icon = 3,
167  RID_Menu = 4,
171  RID_Font = 8,
180  RID_VXD = 20,
183  RID_HTML = 23,
185 };
186 
187 struct symbol {
188  char Name[NameSize];
190  int32_t SectionNumber;
192  uint8_t StorageClass;
194 };
195 
196 enum SymbolSectionNumber : int32_t {
200 };
201 
202 /// Storage class tells where and what the symbol represents
204  SSC_Invalid = 0xff,
205 
206  IMAGE_SYM_CLASS_END_OF_FUNCTION = -1, ///< Physical end of function
207  IMAGE_SYM_CLASS_NULL = 0, ///< No symbol
208  IMAGE_SYM_CLASS_AUTOMATIC = 1, ///< Stack variable
209  IMAGE_SYM_CLASS_EXTERNAL = 2, ///< External symbol
210  IMAGE_SYM_CLASS_STATIC = 3, ///< Static
211  IMAGE_SYM_CLASS_REGISTER = 4, ///< Register variable
212  IMAGE_SYM_CLASS_EXTERNAL_DEF = 5, ///< External definition
213  IMAGE_SYM_CLASS_LABEL = 6, ///< Label
214  IMAGE_SYM_CLASS_UNDEFINED_LABEL = 7, ///< Undefined label
215  IMAGE_SYM_CLASS_MEMBER_OF_STRUCT = 8, ///< Member of structure
216  IMAGE_SYM_CLASS_ARGUMENT = 9, ///< Function argument
217  IMAGE_SYM_CLASS_STRUCT_TAG = 10, ///< Structure tag
218  IMAGE_SYM_CLASS_MEMBER_OF_UNION = 11, ///< Member of union
219  IMAGE_SYM_CLASS_UNION_TAG = 12, ///< Union tag
220  IMAGE_SYM_CLASS_TYPE_DEFINITION = 13, ///< Type definition
221  IMAGE_SYM_CLASS_UNDEFINED_STATIC = 14, ///< Undefined static
222  IMAGE_SYM_CLASS_ENUM_TAG = 15, ///< Enumeration tag
223  IMAGE_SYM_CLASS_MEMBER_OF_ENUM = 16, ///< Member of enumeration
224  IMAGE_SYM_CLASS_REGISTER_PARAM = 17, ///< Register parameter
225  IMAGE_SYM_CLASS_BIT_FIELD = 18, ///< Bit field
226  /// ".bb" or ".eb" - beginning or end of block
228  /// ".bf" or ".ef" - beginning or end of function
230  IMAGE_SYM_CLASS_END_OF_STRUCT = 102, ///< End of structure
231  IMAGE_SYM_CLASS_FILE = 103, ///< File name
232  /// Line number, reformatted as symbol
234  IMAGE_SYM_CLASS_WEAK_EXTERNAL = 105, ///< Duplicate tag
235  /// External symbol in dmert public lib
237 };
238 
239 enum SymbolBaseType : unsigned {
240  IMAGE_SYM_TYPE_NULL = 0, ///< No type information or unknown base type.
241  IMAGE_SYM_TYPE_VOID = 1, ///< Used with void pointers and functions.
242  IMAGE_SYM_TYPE_CHAR = 2, ///< A character (signed byte).
243  IMAGE_SYM_TYPE_SHORT = 3, ///< A 2-byte signed integer.
244  IMAGE_SYM_TYPE_INT = 4, ///< A natural integer type on the target.
245  IMAGE_SYM_TYPE_LONG = 5, ///< A 4-byte signed integer.
246  IMAGE_SYM_TYPE_FLOAT = 6, ///< A 4-byte floating-point number.
247  IMAGE_SYM_TYPE_DOUBLE = 7, ///< An 8-byte floating-point number.
248  IMAGE_SYM_TYPE_STRUCT = 8, ///< A structure.
249  IMAGE_SYM_TYPE_UNION = 9, ///< An union.
250  IMAGE_SYM_TYPE_ENUM = 10, ///< An enumerated type.
251  IMAGE_SYM_TYPE_MOE = 11, ///< A member of enumeration (a specific value).
252  IMAGE_SYM_TYPE_BYTE = 12, ///< A byte; unsigned 1-byte integer.
253  IMAGE_SYM_TYPE_WORD = 13, ///< A word; unsigned 2-byte integer.
254  IMAGE_SYM_TYPE_UINT = 14, ///< An unsigned integer of natural size.
255  IMAGE_SYM_TYPE_DWORD = 15 ///< An unsigned 4-byte integer.
256 };
257 
258 enum SymbolComplexType : unsigned {
259  IMAGE_SYM_DTYPE_NULL = 0, ///< No complex type; simple scalar variable.
260  IMAGE_SYM_DTYPE_POINTER = 1, ///< A pointer to base type.
261  IMAGE_SYM_DTYPE_FUNCTION = 2, ///< A function that returns a base type.
262  IMAGE_SYM_DTYPE_ARRAY = 3, ///< An array of base type.
263 
264  /// Type is formed as (base + (derived << SCT_COMPLEX_TYPE_SHIFT))
266 };
267 
269 
270 struct section {
271  char Name[NameSize];
281 };
282 
284  SC_Invalid = 0xffffffff,
285 
286  IMAGE_SCN_TYPE_NOLOAD = 0x00000002,
287  IMAGE_SCN_TYPE_NO_PAD = 0x00000008,
288  IMAGE_SCN_CNT_CODE = 0x00000020,
291  IMAGE_SCN_LNK_OTHER = 0x00000100,
292  IMAGE_SCN_LNK_INFO = 0x00000200,
293  IMAGE_SCN_LNK_REMOVE = 0x00000800,
294  IMAGE_SCN_LNK_COMDAT = 0x00001000,
295  IMAGE_SCN_GPREL = 0x00008000,
297  IMAGE_SCN_MEM_16BIT = 0x00020000,
298  IMAGE_SCN_MEM_LOCKED = 0x00040000,
299  IMAGE_SCN_MEM_PRELOAD = 0x00080000,
314  IMAGE_SCN_ALIGN_MASK = 0x00F00000,
319  IMAGE_SCN_MEM_SHARED = 0x10000000,
320  IMAGE_SCN_MEM_EXECUTE = 0x20000000,
321  IMAGE_SCN_MEM_READ = 0x40000000,
322  IMAGE_SCN_MEM_WRITE = 0x80000000
323 };
324 
325 struct relocation {
329 };
330 
331 enum RelocationTypeI386 : unsigned {
343 };
344 
345 enum RelocationTypeAMD64 : unsigned {
363 };
364 
365 enum RelocationTypesARM : unsigned {
383 };
384 
385 enum RelocationTypesARM64 : unsigned {
404 };
405 
406 enum COMDATType : uint8_t {
414 };
415 
416 // Auxiliary Symbol Formats
422  char unused[2];
423 };
424 
426  uint8_t unused1[4];
428  uint8_t unused2[6];
430  uint8_t unused3[2];
431 };
432 
436  uint8_t unused[10];
437 };
438 
444 };
445 
452  uint8_t Selection;
453  char unused;
454 };
455 
457  uint8_t AuxType;
458  uint8_t unused1;
460  char unused2[12];
461 };
462 
463 union Auxiliary {
468 };
469 
470 /// The Import Directory Table.
471 ///
472 /// There is a single array of these and one entry per imported DLL.
479 };
480 
481 /// The PE32 Import Lookup Table.
482 ///
483 /// There is an array of these for each imported DLL. It represents either
484 /// the ordinal to import from the target DLL, or a name to lookup and import
485 /// from the target DLL.
486 ///
487 /// This also happens to be the same format used by the Import Address Table
488 /// when it is initially written out to the image.
491 
492  /// Is this entry specified by ordinal, or name?
493  bool isOrdinal() const { return data & 0x80000000; }
494 
495  /// Get the ordinal value of this entry. isOrdinal must be true.
497  assert(isOrdinal() && "ILT entry is not an ordinal!");
498  return data & 0xFFFF;
499  }
500 
501  /// Set the ordinal value and set isOrdinal to true.
503  data = o;
504  data |= 0x80000000;
505  }
506 
507  /// Get the Hint/Name entry RVA. isOrdinal must be false.
509  assert(!isOrdinal() && "ILT entry is not a Hint/Name RVA!");
510  return data;
511  }
512 
513  /// Set the Hint/Name entry RVA and set isOrdinal to false.
514  void setHintNameRVA(uint32_t rva) { data = rva; }
515 };
516 
517 /// The DOS compatible header at the front of all PEs.
518 struct DOSHeader {
538 };
539 
540 struct PE32Header {
541  enum { PE32 = 0x10b, PE32_PLUS = 0x20b };
542 
566  // FIXME: This should be DllCharacteristics to match the COFF spec.
573  // FIXME: This should be NumberOfRvaAndSizes to match the COFF spec.
575 };
576 
580 };
581 
582 enum DataDirectoryIndex : unsigned {
598 
600 };
601 
602 enum WindowsSubsystem : unsigned {
603  IMAGE_SUBSYSTEM_UNKNOWN = 0, ///< An unknown subsystem.
604  IMAGE_SUBSYSTEM_NATIVE = 1, ///< Device drivers and native Windows processes
605  IMAGE_SUBSYSTEM_WINDOWS_GUI = 2, ///< The Windows GUI subsystem.
606  IMAGE_SUBSYSTEM_WINDOWS_CUI = 3, ///< The Windows character subsystem.
607  IMAGE_SUBSYSTEM_OS2_CUI = 5, ///< The OS/2 character subsystem.
608  IMAGE_SUBSYSTEM_POSIX_CUI = 7, ///< The POSIX character subsystem.
609  IMAGE_SUBSYSTEM_NATIVE_WINDOWS = 8, ///< Native Windows 9x driver.
610  IMAGE_SUBSYSTEM_WINDOWS_CE_GUI = 9, ///< Windows CE.
611  IMAGE_SUBSYSTEM_EFI_APPLICATION = 10, ///< An EFI application.
612  IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER = 11, ///< An EFI driver with boot
613  /// services.
614  IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER = 12, ///< An EFI driver with run-time
615  /// services.
616  IMAGE_SUBSYSTEM_EFI_ROM = 13, ///< An EFI ROM image.
617  IMAGE_SUBSYSTEM_XBOX = 14, ///< XBOX.
618  IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION = 16 ///< A BCD application.
619 };
620 
621 enum DLLCharacteristics : unsigned {
622  /// ASLR with 64 bit address space.
624  /// DLL can be relocated at load time.
626  /// Code integrity checks are enforced.
628  ///< Image is NX compatible.
630  /// Isolation aware, but do not isolate the image.
632  /// Does not use structured exception handling (SEH). No SEH handler may be
633  /// called in this image.
635  /// Do not bind the image.
637  ///< Image should execute in an AppContainer.
639  ///< A WDM driver.
641  ///< Image supports Control Flow Guard.
643  /// Terminal Server aware.
645 };
646 
647 enum ExtendedDLLCharacteristics : unsigned {
648  /// Image is CET compatible
650 };
651 
652 enum DebugType : unsigned {
671 };
672 
673 enum BaseRelocationType : unsigned {
684 };
685 
686 enum ImportType : unsigned {
690 };
691 
692 enum ImportNameType : unsigned {
693  /// Import is by ordinal. This indicates that the value in the Ordinal/Hint
694  /// field of the import header is the import's ordinal. If this constant is
695  /// not specified, then the Ordinal/Hint field should always be interpreted
696  /// as the import's hint.
698  /// The import name is identical to the public symbol name
700  /// The import name is the public symbol name, but skipping the leading ?,
701  /// @, or optionally _.
703  /// The import name is the public symbol name, but skipping the leading ?,
704  /// @, or optionally _, and truncating at the first @.
706 };
707 
708 struct ImportHeader {
709  uint16_t Sig1; ///< Must be IMAGE_FILE_MACHINE_UNKNOWN (0).
710  uint16_t Sig2; ///< Must be 0xFFFF.
717 
718  ImportType getType() const { return static_cast<ImportType>(TypeInfo & 0x3); }
719 
721  return static_cast<ImportNameType>((TypeInfo & 0x1C) >> 2);
722  }
723 };
724 
728 };
729 
730 inline bool isReservedSectionNumber(int32_t SectionNumber) {
731  return SectionNumber <= 0;
732 }
733 
734 } // End namespace COFF.
735 } // End namespace llvm.
736 
737 #endif
llvm::COFF::IMPORT_NAME
@ IMPORT_NAME
The import name is identical to the public symbol name.
Definition: COFF.h:699
llvm::COFF::PE32Header::SizeOfImage
uint32_t SizeOfImage
Definition: COFF.h:562
llvm::COFF::IMAGE_SCN_ALIGN_64BYTES
@ IMAGE_SCN_ALIGN_64BYTES
Definition: COFF.h:306
llvm::COFF::IMAGE_FILE_MACHINE_SH3DSP
@ IMAGE_FILE_MACHINE_SH3DSP
Definition: COFF.h:116
llvm::COFF::AuxiliaryFunctionDefinition::unused
char unused[2]
Definition: COFF.h:422
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_WDM_DRIVER
@ IMAGE_DLL_CHARACTERISTICS_WDM_DRIVER
Image supports Control Flow Guard.
Definition: COFF.h:640
llvm::COFF::IMAGE_DEBUG_TYPE_OMAP_FROM_SRC
@ IMAGE_DEBUG_TYPE_OMAP_FROM_SRC
Definition: COFF.h:661
llvm::COFF::IMPORT_ORDINAL
@ IMPORT_ORDINAL
Import is by ordinal.
Definition: COFF.h:697
llvm::COFF::IMAGE_FILE_MACHINE_MIPSFPU
@ IMAGE_FILE_MACHINE_MIPSFPU
Definition: COFF.h:107
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_NX_COMPAT
@ IMAGE_DLL_CHARACTERISTICS_NX_COMPAT
Definition: COFF.h:629
llvm::COFF::IMAGE_COMDAT_SELECT_EXACT_MATCH
@ IMAGE_COMDAT_SELECT_EXACT_MATCH
Definition: COFF.h:410
llvm::COFF::ImportLookupTableEntry32::setOrdinal
void setOrdinal(uint16_t o)
Set the ordinal value and set isOrdinal to true.
Definition: COFF.h:502
llvm::COFF::IMAGE_SCN_ALIGN_1BYTES
@ IMAGE_SCN_ALIGN_1BYTES
Definition: COFF.h:300
llvm::COFF::CERTIFICATE_TABLE
@ CERTIFICATE_TABLE
Definition: COFF.h:587
llvm::COFF::IMAGE_REL_I386_SECTION
@ IMAGE_REL_I386_SECTION
Definition: COFF.h:338
llvm::COFF::RID_Cursor
@ RID_Cursor
Definition: COFF.h:164
llvm::COFF::AuxiliarySectionDefinition::NumberOfLinenumbers
uint16_t NumberOfLinenumbers
Definition: COFF.h:449
llvm::COFF::IMAGE_REL_AMD64_PAIR
@ IMAGE_REL_AMD64_PAIR
Definition: COFF.h:361
llvm::COFF::ImportHeader::Version
uint16_t Version
Definition: COFF.h:711
llvm::COFF::PE32Header::Magic
uint16_t Magic
Definition: COFF.h:543
llvm::COFF::IMAGE_REL_AMD64_ADDR32
@ IMAGE_REL_AMD64_ADDR32
Definition: COFF.h:348
llvm::COFF::IMAGE_SCN_ALIGN_2048BYTES
@ IMAGE_SCN_ALIGN_2048BYTES
Definition: COFF.h:311
llvm::COFF::ImportHeader::OrdinalHint
uint16_t OrdinalHint
Definition: COFF.h:715
llvm::COFF::ImportDirectoryTableEntry::ImportAddressTableRVA
uint32_t ImportAddressTableRVA
Definition: COFF.h:478
llvm::COFF::IMAGE_REL_BASED_HIGHLOW
@ IMAGE_REL_BASED_HIGHLOW
Definition: COFF.h:677
llvm::COFF::IMPORT_NAME_UNDECORATE
@ IMPORT_NAME_UNDECORATE
The import name is the public symbol name, but skipping the leading ?, @, or optionally _,...
Definition: COFF.h:705
llvm::COFF::IMAGE_DEBUG_TYPE_REPRO
@ IMAGE_DEBUG_TYPE_REPRO
Definition: COFF.h:669
llvm::COFF::IMAGE_REL_ARM64_SECREL
@ IMAGE_REL_ARM64_SECREL
Definition: COFF.h:394
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::COFF::IMAGE_SCN_LNK_NRELOC_OVFL
@ IMAGE_SCN_LNK_NRELOC_OVFL
Definition: COFF.h:315
llvm::COFF::IMAGE_SCN_ALIGN_16BYTES
@ IMAGE_SCN_ALIGN_16BYTES
Definition: COFF.h:304
llvm::COFF::IMAGE_FILE_DLL
@ IMAGE_FILE_DLL
The image file is a DLL.
Definition: COFF.h:155
llvm::COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA
@ IMAGE_SCN_CNT_UNINITIALIZED_DATA
Definition: COFF.h:290
llvm::COFF::IMAGE_DEBUG_TYPE_OMAP_TO_SRC
@ IMAGE_DEBUG_TYPE_OMAP_TO_SRC
Definition: COFF.h:660
llvm::COFF::IMAGE_SYM_DTYPE_POINTER
@ IMAGE_SYM_DTYPE_POINTER
A pointer to base type.
Definition: COFF.h:260
llvm::COFF::IMAGE_SCN_ALIGN_4BYTES
@ IMAGE_SCN_ALIGN_4BYTES
Definition: COFF.h:302
llvm::COFF::IMAGE_REL_ARM64_ADDR32NB
@ IMAGE_REL_ARM64_ADDR32NB
Definition: COFF.h:388
llvm::COFF::DataDirectory
Definition: COFF.h:577
llvm::COFF::header::Machine
uint16_t Machine
Definition: COFF.h:66
llvm::COFF::BigObjHeader::unused3
uint32_t unused3
Definition: COFF.h:86
llvm::COFF::Symbol32Size
@ Symbol32Size
Definition: COFF.h:60
llvm::COFF::DOSHeader::Checksum
uint16_t Checksum
Definition: COFF.h:528
llvm::COFF::DataDirectory::Size
uint32_t Size
Definition: COFF.h:579
llvm::COFF::RID_HTML
@ RID_HTML
Definition: COFF.h:183
llvm::COFF::IMAGE_SYM_CLASS_STATIC
@ IMAGE_SYM_CLASS_STATIC
Static.
Definition: COFF.h:210
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_NO_ISOLATION
@ IMAGE_DLL_CHARACTERISTICS_NO_ISOLATION
Isolation aware, but do not isolate the image.
Definition: COFF.h:631
llvm::COFF::AuxiliarybfAndefSymbol
Definition: COFF.h:425
llvm::COFF::BigObjHeader::NumberOfSections
uint32_t NumberOfSections
Definition: COFF.h:88
llvm::COFF::IMAGE_REL_ARM64_PAGEBASE_REL21
@ IMAGE_REL_ARM64_PAGEBASE_REL21
Definition: COFF.h:390
llvm::COFF::IMAGE_SYM_CLASS_UNDEFINED_LABEL
@ IMAGE_SYM_CLASS_UNDEFINED_LABEL
Undefined label.
Definition: COFF.h:214
llvm::COFF::IMAGE_SCN_ALIGN_256BYTES
@ IMAGE_SCN_ALIGN_256BYTES
Definition: COFF.h:308
llvm::COFF::IMAGE_COMDAT_SELECT_NODUPLICATES
@ IMAGE_COMDAT_SELECT_NODUPLICATES
Definition: COFF.h:407
llvm::COFF::IMAGE_FILE_MACHINE_IA64
@ IMAGE_FILE_MACHINE_IA64
Definition: COFF.h:104
llvm::COFF::IMAGE_SCN_MEM_NOT_PAGED
@ IMAGE_SCN_MEM_NOT_PAGED
Definition: COFF.h:318
llvm::COFF::IMAGE_SYM_CLASS_FUNCTION
@ IMAGE_SYM_CLASS_FUNCTION
".bf" or ".ef" - beginning or end of function
Definition: COFF.h:229
llvm::COFF::PE32Header::CheckSum
uint32_t CheckSum
Definition: COFF.h:564
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_NO_BIND
@ IMAGE_DLL_CHARACTERISTICS_NO_BIND
Do not bind the image.
Definition: COFF.h:636
llvm::COFF::PE32Header::MinorOperatingSystemVersion
uint16_t MinorOperatingSystemVersion
Definition: COFF.h:556
llvm::COFF::IMAGE_DEBUG_TYPE_POGO
@ IMAGE_DEBUG_TYPE_POGO
Definition: COFF.h:666
llvm::COFF::PE32Header::Subsystem
uint16_t Subsystem
Definition: COFF.h:565
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA
@ IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA
ASLR with 64 bit address space.
Definition: COFF.h:623
llvm::COFF::PE32Header::ImageBase
uint64_t ImageBase
Definition: COFF.h:552
llvm::COFF::IMAGE_REL_ARM64_PAGEOFFSET_12L
@ IMAGE_REL_ARM64_PAGEOFFSET_12L
Definition: COFF.h:393
llvm::COFF::IMAGE_FILE_AGGRESSIVE_WS_TRIM
@ IMAGE_FILE_AGGRESSIVE_WS_TRIM
Aggressively trim working set. This is deprecated and must be 0.
Definition: COFF.h:138
llvm::COFF::IMAGE_SCN_MEM_DISCARDABLE
@ IMAGE_SCN_MEM_DISCARDABLE
Definition: COFF.h:316
llvm::COFF::IMAGE_FILE_LOCAL_SYMS_STRIPPED
@ IMAGE_FILE_LOCAL_SYMS_STRIPPED
COFF symbol table entries for local symbols have been removed.
Definition: COFF.h:136
llvm::COFF::AuxiliarySectionDefinition::NumberOfRelocations
uint16_t NumberOfRelocations
Definition: COFF.h:448
llvm::COFF::IMAGE_SYM_CLASS_EXTERNAL
@ IMAGE_SYM_CLASS_EXTERNAL
External symbol.
Definition: COFF.h:209
llvm::COFF::DOSHeader::OEMinfo
uint16_t OEMinfo
Definition: COFF.h:535
llvm::COFF::symbol::Type
uint16_t Type
Definition: COFF.h:191
llvm::COFF::IMAGE_REL_BASED_MIPS_JMPADDR16
@ IMAGE_REL_BASED_MIPS_JMPADDR16
Definition: COFF.h:682
llvm::COFF::relocation::SymbolTableIndex
uint32_t SymbolTableIndex
Definition: COFF.h:327
llvm::COFF::IMAGE_REL_BASED_LOW
@ IMAGE_REL_BASED_LOW
Definition: COFF.h:676
llvm::COFF::IMAGE_REL_I386_ABSOLUTE
@ IMAGE_REL_I386_ABSOLUTE
Definition: COFF.h:332
llvm::COFF::IMAGE_REL_ARM_MOV32A
@ IMAGE_REL_ARM_MOV32A
Definition: COFF.h:377
llvm::COFF::symbol::Value
uint32_t Value
Definition: COFF.h:189
llvm::COFF::IMAGE_FILE_MACHINE_AMD64
@ IMAGE_FILE_MACHINE_AMD64
Definition: COFF.h:98
llvm::COFF::IMAGE_FILE_MACHINE_UNKNOWN
@ IMAGE_FILE_MACHINE_UNKNOWN
Definition: COFF.h:96
llvm::COFF::IMAGE_REL_ARM64_REL21
@ IMAGE_REL_ARM64_REL21
Definition: COFF.h:391
llvm::COFF::SCT_COMPLEX_TYPE_SHIFT
@ SCT_COMPLEX_TYPE_SHIFT
Type is formed as (base + (derived << SCT_COMPLEX_TYPE_SHIFT))
Definition: COFF.h:265
llvm::COFF::IMAGE_SUBSYSTEM_XBOX
@ IMAGE_SUBSYSTEM_XBOX
XBOX.
Definition: COFF.h:617
llvm::COFF::Characteristics
Characteristics
Definition: COFF.h:123
llvm::COFF::NameSize
@ NameSize
Definition: COFF.h:58
llvm::COFF::section::PointerToRawData
uint32_t PointerToRawData
Definition: COFF.h:275
llvm::COFF::RID_FontDir
@ RID_FontDir
Definition: COFF.h:170
llvm::COFF::IMAGE_DEBUG_TYPE_EXCEPTION
@ IMAGE_DEBUG_TYPE_EXCEPTION
Definition: COFF.h:658
llvm::COFF::BigObjHeader
Definition: COFF.h:75
llvm::COFF::IMAGE_SUBSYSTEM_WINDOWS_CE_GUI
@ IMAGE_SUBSYSTEM_WINDOWS_CE_GUI
Windows CE.
Definition: COFF.h:610
llvm::COFF::IMAGE_DEBUG_TYPE_BORLAND
@ IMAGE_DEBUG_TYPE_BORLAND
Definition: COFF.h:662
llvm::COFF::header::Characteristics
uint16_t Characteristics
Definition: COFF.h:72
llvm::COFF::IMAGE_REL_I386_DIR32NB
@ IMAGE_REL_I386_DIR32NB
Definition: COFF.h:336
llvm::COFF::IMAGE_SYM_TYPE_UINT
@ IMAGE_SYM_TYPE_UINT
An unsigned integer of natural size.
Definition: COFF.h:254
llvm::COFF::IMAGE_REL_AMD64_REL32
@ IMAGE_REL_AMD64_REL32
Definition: COFF.h:350
llvm::COFF::SSC_Invalid
@ SSC_Invalid
Definition: COFF.h:204
llvm::COFF::RID_Dialog
@ RID_Dialog
Definition: COFF.h:168
llvm::COFF::Auxiliary
Definition: COFF.h:463
llvm::COFF::IMAGE_FILE_MACHINE_ARMNT
@ IMAGE_FILE_MACHINE_ARMNT
Definition: COFF.h:100
llvm::COFF::IMAGE_SYM_CLASS_MEMBER_OF_UNION
@ IMAGE_SYM_CLASS_MEMBER_OF_UNION
Member of union.
Definition: COFF.h:218
llvm::COFF::AuxiliaryCLRToken::AuxType
uint8_t AuxType
Definition: COFF.h:457
llvm::COFF::IMAGE_COMDAT_SELECT_ASSOCIATIVE
@ IMAGE_COMDAT_SELECT_ASSOCIATIVE
Definition: COFF.h:411
llvm::COFF::DOSHeader::HeaderSizeInParagraphs
uint16_t HeaderSizeInParagraphs
Definition: COFF.h:523
llvm::COFF::ResourceTypeID
ResourceTypeID
Definition: COFF.h:163
llvm::COFF::IMAGE_SCN_ALIGN_512BYTES
@ IMAGE_SCN_ALIGN_512BYTES
Definition: COFF.h:309
llvm::COFF::RESOURCE_TABLE
@ RESOURCE_TABLE
Definition: COFF.h:585
llvm::COFF::Header16Size
@ Header16Size
Definition: COFF.h:56
llvm::COFF::IMAGE_REL_ARM64_SECREL_HIGH12A
@ IMAGE_REL_ARM64_SECREL_HIGH12A
Definition: COFF.h:396
llvm::COFF::Auxiliary::FunctionDefinition
AuxiliaryFunctionDefinition FunctionDefinition
Definition: COFF.h:464
llvm::COFF::ImportHeader
Definition: COFF.h:708
llvm::COFF::IMAGE_REL_ARM_BRANCH20T
@ IMAGE_REL_ARM_BRANCH20T
Definition: COFF.h:379
llvm::COFF::BigObjHeader::NumberOfSymbols
uint32_t NumberOfSymbols
Definition: COFF.h:90
llvm::COFF::IMAGE_WEAK_EXTERN_SEARCH_ALIAS
@ IMAGE_WEAK_EXTERN_SEARCH_ALIAS
Definition: COFF.h:442
llvm::COFF::DOSHeader::NumberOfRelocationItems
uint16_t NumberOfRelocationItems
Definition: COFF.h:522
llvm::COFF::AuxiliarySectionDefinition::Length
uint32_t Length
Definition: COFF.h:447
llvm::COFF::IMAGE_SYM_ABSOLUTE
@ IMAGE_SYM_ABSOLUTE
Definition: COFF.h:198
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY
@ IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY
Code integrity checks are enforced.
Definition: COFF.h:627
llvm::COFF::IMAGE_DEBUG_TYPE_CLSID
@ IMAGE_DEBUG_TYPE_CLSID
Definition: COFF.h:664
llvm::COFF::section::VirtualSize
uint32_t VirtualSize
Definition: COFF.h:272
llvm::COFF::IMAGE_REL_ARM64_BRANCH26
@ IMAGE_REL_ARM64_BRANCH26
Definition: COFF.h:389
llvm::COFF::AuxiliaryFunctionDefinition
Definition: COFF.h:417
llvm::COFF::IMAGE_FILE_MACHINE_SH5
@ IMAGE_FILE_MACHINE_SH5
Definition: COFF.h:118
llvm::COFF::IMAGE_REL_ARM64_ABSOLUTE
@ IMAGE_REL_ARM64_ABSOLUTE
Definition: COFF.h:386
llvm::COFF::header::PointerToSymbolTable
uint32_t PointerToSymbolTable
Definition: COFF.h:69
llvm::COFF::IMAGE_SUBSYSTEM_EFI_ROM
@ IMAGE_SUBSYSTEM_EFI_ROM
An EFI ROM image.
Definition: COFF.h:616
llvm::COFF::IMAGE_REL_ARM64_SECREL_LOW12A
@ IMAGE_REL_ARM64_SECREL_LOW12A
Definition: COFF.h:395
llvm::COFF::RelocationTypesARM
RelocationTypesARM
Definition: COFF.h:365
llvm::COFF::section::SizeOfRawData
uint32_t SizeOfRawData
Definition: COFF.h:274
llvm::COFF::Symbol16Size
@ Symbol16Size
Definition: COFF.h:59
llvm::COFF::COMDATType
COMDATType
Definition: COFF.h:406
llvm::COFF::ImportDirectoryTableEntry::ImportLookupTableRVA
uint32_t ImportLookupTableRVA
Definition: COFF.h:474
llvm::COFF::SymbolStorageClass
SymbolStorageClass
Storage class tells where and what the symbol represents.
Definition: COFF.h:203
llvm::COFF::PEMagic
static const char PEMagic[]
Definition: COFF.h:36
llvm::COFF::PE32Header::MajorSubsystemVersion
uint16_t MajorSubsystemVersion
Definition: COFF.h:559
llvm::COFF::IMAGE_REL_I386_DIR16
@ IMAGE_REL_I386_DIR16
Definition: COFF.h:333
llvm::COFF::RID_Manifest
@ RID_Manifest
Definition: COFF.h:184
llvm::COFF::PE32Header::FileAlignment
uint32_t FileAlignment
Definition: COFF.h:554
llvm::COFF::AuxiliarybfAndefSymbol::unused1
uint8_t unused1[4]
Definition: COFF.h:426
llvm::COFF::IMAGE_SYM_CLASS_NULL
@ IMAGE_SYM_CLASS_NULL
No symbol.
Definition: COFF.h:207
llvm::COFF::GLOBAL_PTR
@ GLOBAL_PTR
Definition: COFF.h:591
llvm::COFF::IMAGE_FILE_SYSTEM
@ IMAGE_FILE_SYSTEM
The image file is a system file, not a user program.
Definition: COFF.h:153
llvm::COFF::BigObjHeader::PointerToSymbolTable
uint32_t PointerToSymbolTable
Definition: COFF.h:89
llvm::COFF::DELAY_IMPORT_DESCRIPTOR
@ DELAY_IMPORT_DESCRIPTOR
Definition: COFF.h:596
llvm::COFF::IMAGE_REL_ARM_SECREL
@ IMAGE_REL_ARM_SECREL
Definition: COFF.h:376
llvm::COFF::IMAGE_SCN_LNK_INFO
@ IMAGE_SCN_LNK_INFO
Definition: COFF.h:292
llvm::COFF::IMAGE_FILE_MACHINE_I386
@ IMAGE_FILE_MACHINE_I386
Definition: COFF.h:103
llvm::COFF::IMAGE_SCN_CNT_INITIALIZED_DATA
@ IMAGE_SCN_CNT_INITIALIZED_DATA
Definition: COFF.h:289
llvm::COFF::ImportDirectoryTableEntry::NameRVA
uint32_t NameRVA
Definition: COFF.h:477
llvm::COFF::DOSHeader::InitialRelativeCS
uint16_t InitialRelativeCS
Definition: COFF.h:530
llvm::COFF::IMAGE_DEBUG_TYPE_COFF
@ IMAGE_DEBUG_TYPE_COFF
Definition: COFF.h:654
llvm::COFF::IMAGE_FILE_LARGE_ADDRESS_AWARE
@ IMAGE_FILE_LARGE_ADDRESS_AWARE
Image can handle > 2GiB addresses.
Definition: COFF.h:140
llvm::COFF::ExtendedDLLCharacteristics
ExtendedDLLCharacteristics
Definition: COFF.h:647
llvm::COFF::IMAGE_DEBUG_TYPE_UNKNOWN
@ IMAGE_DEBUG_TYPE_UNKNOWN
Definition: COFF.h:653
llvm::COFF::IMAGE_SYM_CLASS_FILE
@ IMAGE_SYM_CLASS_FILE
File name.
Definition: COFF.h:231
llvm::COFF::IMAGE_COMDAT_SELECT_NEWEST
@ IMAGE_COMDAT_SELECT_NEWEST
Definition: COFF.h:413
llvm::COFF::ImportHeader::TimeDateStamp
uint32_t TimeDateStamp
Definition: COFF.h:713
llvm::COFF::IMAGE_DEBUG_TYPE_FIXUP
@ IMAGE_DEBUG_TYPE_FIXUP
Definition: COFF.h:659
llvm::COFF::IMAGE_REL_ARM_MOV32T
@ IMAGE_REL_ARM_MOV32T
Definition: COFF.h:378
llvm::COFF::BigObjHeader::Machine
uint16_t Machine
Definition: COFF.h:81
llvm::COFF::IMAGE_COMDAT_SELECT_SAME_SIZE
@ IMAGE_COMDAT_SELECT_SAME_SIZE
Definition: COFF.h:409
llvm::COFF::IMAGE_SCN_LNK_REMOVE
@ IMAGE_SCN_LNK_REMOVE
Definition: COFF.h:293
llvm::COFF::IMAGE_DEBUG_TYPE_RESERVED10
@ IMAGE_DEBUG_TYPE_RESERVED10
Definition: COFF.h:663
llvm::COFF::LOAD_CONFIG_TABLE
@ LOAD_CONFIG_TABLE
Definition: COFF.h:593
llvm::COFF::DOSHeader::UsedBytesInTheLastPage
uint16_t UsedBytesInTheLastPage
Definition: COFF.h:520
llvm::COFF::IMAGE_FILE_BYTES_REVERSED_LO
@ IMAGE_FILE_BYTES_REVERSED_LO
Little endian: the LSB precedes the MSB in memory.
Definition: COFF.h:143
llvm::COFF::DebugType
DebugType
Definition: COFF.h:652
llvm::COFF::IMAGE_SYM_CLASS_END_OF_FUNCTION
@ IMAGE_SYM_CLASS_END_OF_FUNCTION
Physical end of function.
Definition: COFF.h:206
llvm::COFF::BigObjHeader::MinBigObjectVersion
@ MinBigObjectVersion
Definition: COFF.h:76
llvm::COFF::IMAGE_FILE_MACHINE_SH4
@ IMAGE_FILE_MACHINE_SH4
Definition: COFF.h:117
llvm::COFF::IMAGE_DEBUG_TYPE_CODEVIEW
@ IMAGE_DEBUG_TYPE_CODEVIEW
Definition: COFF.h:655
llvm::COFF::PE32Header::PE32_PLUS
@ PE32_PLUS
Definition: COFF.h:541
llvm::COFF::IAT
@ IAT
Definition: COFF.h:595
llvm::COFF::IMAGE_SYM_CLASS_TYPE_DEFINITION
@ IMAGE_SYM_CLASS_TYPE_DEFINITION
Type definition.
Definition: COFF.h:220
llvm::COFF::IMAGE_SCN_MEM_READ
@ IMAGE_SCN_MEM_READ
Definition: COFF.h:321
llvm::COFF::IMAGE_SYM_CLASS_MEMBER_OF_ENUM
@ IMAGE_SYM_CLASS_MEMBER_OF_ENUM
Member of enumeration.
Definition: COFF.h:223
llvm::COFF::IMAGE_FILE_MACHINE_RISCV32
@ IMAGE_FILE_MACHINE_RISCV32
Definition: COFF.h:112
llvm::COFF::IMAGE_AUX_SYMBOL_TYPE_TOKEN_DEF
@ IMAGE_AUX_SYMBOL_TYPE_TOKEN_DEF
Definition: COFF.h:268
llvm::COFF::DOSHeader::MinimumExtraParagraphs
uint16_t MinimumExtraParagraphs
Definition: COFF.h:524
llvm::COFF::RID_Group_Icon
@ RID_Group_Icon
Definition: COFF.h:176
llvm::COFF::AuxiliarySectionDefinition::CheckSum
uint32_t CheckSum
Definition: COFF.h:450
llvm::COFF::IMAGE_REL_BASED_MIPS_JMPADDR
@ IMAGE_REL_BASED_MIPS_JMPADDR
Definition: COFF.h:679
llvm::COFF::relocation::Type
uint16_t Type
Definition: COFF.h:328
llvm::COFF::IMAGE_FILE_MACHINE_WCEMIPSV2
@ IMAGE_FILE_MACHINE_WCEMIPSV2
Definition: COFF.h:120
llvm::COFF::DOSHeader::MaximumExtraParagraphs
uint16_t MaximumExtraParagraphs
Definition: COFF.h:525
llvm::COFF::IMAGE_REL_ARM_ADDR32NB
@ IMAGE_REL_ARM_ADDR32NB
Definition: COFF.h:368
llvm::COFF::IMAGE_SYM_CLASS_REGISTER
@ IMAGE_SYM_CLASS_REGISTER
Register variable.
Definition: COFF.h:211
llvm::COFF::IMAGE_REL_ARM_TOKEN
@ IMAGE_REL_ARM_TOKEN
Definition: COFF.h:371
llvm::COFF::IMAGE_REL_ARM64_ADDR32
@ IMAGE_REL_ARM64_ADDR32
Definition: COFF.h:387
llvm::COFF::IMAGE_SYM_CLASS_BIT_FIELD
@ IMAGE_SYM_CLASS_BIT_FIELD
Bit field.
Definition: COFF.h:225
llvm::COFF::IMPORT_CONST
@ IMPORT_CONST
Definition: COFF.h:689
llvm::COFF::ImportLookupTableEntry32::getOrdinal
uint16_t getOrdinal() const
Get the ordinal value of this entry. isOrdinal must be true.
Definition: COFF.h:496
llvm::COFF::IMAGE_FILE_MACHINE_POWERPCFP
@ IMAGE_FILE_MACHINE_POWERPCFP
Definition: COFF.h:110
llvm::COFF::IMAGE_FILE_BYTES_REVERSED_HI
@ IMAGE_FILE_BYTES_REVERSED_HI
Big endian: the MSB precedes the LSB in memory.
Definition: COFF.h:160
llvm::COFF::IMAGE_REL_I386_DIR32
@ IMAGE_REL_I386_DIR32
Definition: COFF.h:335
llvm::COFF::AuxiliarybfAndefSymbol::unused3
uint8_t unused3[2]
Definition: COFF.h:430
llvm::COFF::PE32Header::Win32VersionValue
uint32_t Win32VersionValue
Definition: COFF.h:561
llvm::COFF::IMAGE_REL_BASED_DIR64
@ IMAGE_REL_BASED_DIR64
Definition: COFF.h:683
llvm::COFF::IMAGE_SYM_CLASS_REGISTER_PARAM
@ IMAGE_SYM_CLASS_REGISTER_PARAM
Register parameter.
Definition: COFF.h:224
llvm::COFF::IMAGE_FILE_MACHINE_EBC
@ IMAGE_FILE_MACHINE_EBC
Definition: COFF.h:102
llvm::COFF::PE32Header::SectionAlignment
uint32_t SectionAlignment
Definition: COFF.h:553
llvm::COFF::EXCEPTION_TABLE
@ EXCEPTION_TABLE
Definition: COFF.h:586
llvm::COFF::PE32Header::BaseOfCode
uint32_t BaseOfCode
Definition: COFF.h:550
llvm::COFF::IMAGE_SCN_ALIGN_32BYTES
@ IMAGE_SCN_ALIGN_32BYTES
Definition: COFF.h:305
llvm::COFF::DOSHeader::Reserved2
uint16_t Reserved2[10]
Definition: COFF.h:536
llvm::COFF::IMAGE_WEAK_EXTERN_ANTI_DEPENDENCY
@ IMAGE_WEAK_EXTERN_ANTI_DEPENDENCY
Definition: COFF.h:443
llvm::COFF::IMAGE_SYM_CLASS_WEAK_EXTERNAL
@ IMAGE_SYM_CLASS_WEAK_EXTERNAL
Duplicate tag.
Definition: COFF.h:234
llvm::COFF::WinResMagic
static const char WinResMagic[]
Definition: COFF.h:49
llvm::COFF::IMAGE_REL_AMD64_SREL32
@ IMAGE_REL_AMD64_SREL32
Definition: COFF.h:360
llvm::COFF::PE32Header::SizeOfHeaders
uint32_t SizeOfHeaders
Definition: COFF.h:563
llvm::COFF::section::PointerToLineNumbers
uint32_t PointerToLineNumbers
Definition: COFF.h:277
llvm::COFF::AuxiliaryWeakExternal
Definition: COFF.h:433
llvm::COFF::IMAGE_FILE_MACHINE_RISCV128
@ IMAGE_FILE_MACHINE_RISCV128
Definition: COFF.h:114
llvm::COFF::IMAGE_REL_BASED_HIGH
@ IMAGE_REL_BASED_HIGH
Definition: COFF.h:675
llvm::COFF::IMAGE_SUBSYSTEM_OS2_CUI
@ IMAGE_SUBSYSTEM_OS2_CUI
The OS/2 character subsystem.
Definition: COFF.h:607
llvm::COFF::ImportHeader::Machine
uint16_t Machine
Definition: COFF.h:712
llvm::COFF::AuxiliaryFunctionDefinition::TagIndex
uint32_t TagIndex
Definition: COFF.h:418
llvm::COFF::IMAGE_REL_AMD64_SSPAN32
@ IMAGE_REL_AMD64_SSPAN32
Definition: COFF.h:362
llvm::COFF::IMAGE_SYM_CLASS_END_OF_STRUCT
@ IMAGE_SYM_CLASS_END_OF_STRUCT
End of structure.
Definition: COFF.h:230
llvm::COFF::SymbolSectionNumber
SymbolSectionNumber
Definition: COFF.h:196
llvm::COFF::IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER
@ IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER
An EFI driver with run-time services.
Definition: COFF.h:614
llvm::COFF::IMAGE_DEBUG_TYPE_ILTCG
@ IMAGE_DEBUG_TYPE_ILTCG
Definition: COFF.h:667
llvm::COFF::SymbolComplexType
SymbolComplexType
Definition: COFF.h:258
llvm::COFF::TLS_TABLE
@ TLS_TABLE
Definition: COFF.h:592
llvm::COFF::IMAGE_SCN_TYPE_NOLOAD
@ IMAGE_SCN_TYPE_NOLOAD
Definition: COFF.h:286
llvm::COFF::symbol
Definition: COFF.h:187
llvm::COFF::IMAGE_FILE_MACHINE_MIPS16
@ IMAGE_FILE_MACHINE_MIPS16
Definition: COFF.h:106
llvm::COFF::IMAGE_SCN_LNK_OTHER
@ IMAGE_SCN_LNK_OTHER
Definition: COFF.h:291
llvm::COFF::IMAGE_SYM_UNDEFINED
@ IMAGE_SYM_UNDEFINED
Definition: COFF.h:199
llvm::COFF::ImportLookupTableEntry32::setHintNameRVA
void setHintNameRVA(uint32_t rva)
Set the Hint/Name entry RVA and set isOrdinal to false.
Definition: COFF.h:514
llvm::COFF::section::Characteristics
uint32_t Characteristics
Definition: COFF.h:280
llvm::COFF::IMAGE_REL_ARM64_SECREL_LOW12L
@ IMAGE_REL_ARM64_SECREL_LOW12L
Definition: COFF.h:397
llvm::COFF::IMAGE_REL_ARM_PAIR
@ IMAGE_REL_ARM_PAIR
Definition: COFF.h:382
llvm::COFF::IMAGE_FILE_UP_SYSTEM_ONLY
@ IMAGE_FILE_UP_SYSTEM_ONLY
This file should only be run on a uniprocessor machine.
Definition: COFF.h:157
llvm::COFF::IMAGE_SCN_MEM_PURGEABLE
@ IMAGE_SCN_MEM_PURGEABLE
Definition: COFF.h:296
llvm::COFF::IMAGE_SYM_TYPE_NULL
@ IMAGE_SYM_TYPE_NULL
No type information or unknown base type.
Definition: COFF.h:240
llvm::COFF::IMAGE_SYM_TYPE_WORD
@ IMAGE_SYM_TYPE_WORD
A word; unsigned 2-byte integer.
Definition: COFF.h:253
llvm::COFF::IMAGE_FILE_32BIT_MACHINE
@ IMAGE_FILE_32BIT_MACHINE
Machine is based on a 32bit word architecture.
Definition: COFF.h:145
llvm::COFF::section::VirtualAddress
uint32_t VirtualAddress
Definition: COFF.h:273
llvm::COFF::PE32Header::MajorImageVersion
uint16_t MajorImageVersion
Definition: COFF.h:557
llvm::COFF::SymbolBaseType
SymbolBaseType
Definition: COFF.h:239
llvm::COFF::DOSHeader::OverlayNumber
uint16_t OverlayNumber
Definition: COFF.h:532
llvm::COFF::PE32Header::LoaderFlags
uint32_t LoaderFlags
Definition: COFF.h:572
llvm::COFF::IMAGE_SYM_TYPE_LONG
@ IMAGE_SYM_TYPE_LONG
A 4-byte signed integer.
Definition: COFF.h:245
llvm::COFF::RID_String
@ RID_String
Definition: COFF.h:169
llvm::COFF::IMAGE_SYM_CLASS_EXTERNAL_DEF
@ IMAGE_SYM_CLASS_EXTERNAL_DEF
External definition.
Definition: COFF.h:212
llvm::COFF::IMPORT_NAME_NOPREFIX
@ IMPORT_NAME_NOPREFIX
The import name is the public symbol name, but skipping the leading ?, @, or optionally _.
Definition: COFF.h:702
llvm::COFF::section::NumberOfRelocations
uint16_t NumberOfRelocations
Definition: COFF.h:278
llvm::COFF::AuxiliarybfAndefSymbol::PointerToNextFunction
uint32_t PointerToNextFunction
Definition: COFF.h:429
llvm::COFF::relocation
Definition: COFF.h:325
llvm::COFF::IMAGE_REL_AMD64_ABSOLUTE
@ IMAGE_REL_AMD64_ABSOLUTE
Definition: COFF.h:346
llvm::COFF::IMAGE_FILE_MACHINE_THUMB
@ IMAGE_FILE_MACHINE_THUMB
Definition: COFF.h:119
llvm::COFF::IMAGE_SCN_TYPE_NO_PAD
@ IMAGE_SCN_TYPE_NO_PAD
Definition: COFF.h:287
llvm::COFF::IMAGE_SYM_CLASS_ARGUMENT
@ IMAGE_SYM_CLASS_ARGUMENT
Function argument.
Definition: COFF.h:216
llvm::COFF::RID_RCData
@ RID_RCData
Definition: COFF.h:173
llvm::COFF::IMAGE_SCN_ALIGN_8192BYTES
@ IMAGE_SCN_ALIGN_8192BYTES
Definition: COFF.h:313
llvm::COFF::IMAGE_REL_I386_REL32
@ IMAGE_REL_I386_REL32
Definition: COFF.h:342
llvm::COFF::IMAGE_SCN_ALIGN_2BYTES
@ IMAGE_SCN_ALIGN_2BYTES
Definition: COFF.h:301
llvm::COFF::ImportLookupTableEntry32::getHintNameRVA
uint32_t getHintNameRVA() const
Get the Hint/Name entry RVA. isOrdinal must be false.
Definition: COFF.h:508
llvm::COFF::RID_Accelerator
@ RID_Accelerator
Definition: COFF.h:172
llvm::COFF::AuxiliaryCLRToken
Definition: COFF.h:456
uint64_t
llvm::COFF::IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER
@ IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER
An EFI driver with boot services.
Definition: COFF.h:612
llvm::COFF::IMAGE_SUBSYSTEM_WINDOWS_CUI
@ IMAGE_SUBSYSTEM_WINDOWS_CUI
The Windows character subsystem.
Definition: COFF.h:606
llvm::COFF::AuxiliarybfAndefSymbol::Linenumber
uint16_t Linenumber
Definition: COFF.h:427
llvm::COFF::ARCHITECTURE
@ ARCHITECTURE
Definition: COFF.h:590
llvm::COFF::IMAGE_REL_ARM_BRANCH24T
@ IMAGE_REL_ARM_BRANCH24T
Definition: COFF.h:380
llvm::COFF::IMAGE_REL_AMD64_REL32_4
@ IMAGE_REL_AMD64_REL32_4
Definition: COFF.h:354
llvm::COFF::IMAGE_REL_ARM_BRANCH24
@ IMAGE_REL_ARM_BRANCH24
Definition: COFF.h:369
llvm::COFF::symbol::NumberOfAuxSymbols
uint8_t NumberOfAuxSymbols
Definition: COFF.h:193
llvm::COFF::IMAGE_REL_ARM_BRANCH11
@ IMAGE_REL_ARM_BRANCH11
Definition: COFF.h:370
llvm::COFF::section::PointerToRelocations
uint32_t PointerToRelocations
Definition: COFF.h:276
llvm::COFF::ImportHeader::Sig2
uint16_t Sig2
Must be 0xFFFF.
Definition: COFF.h:710
llvm::COFF::IMAGE_SCN_MEM_SHARED
@ IMAGE_SCN_MEM_SHARED
Definition: COFF.h:319
llvm::COFF::IMAGE_FILE_LINE_NUMS_STRIPPED
@ IMAGE_FILE_LINE_NUMS_STRIPPED
COFF line numbers have been stripped.
Definition: COFF.h:133
llvm::COFF::IMAGE_SUBSYSTEM_NATIVE
@ IMAGE_SUBSYSTEM_NATIVE
Device drivers and native Windows processes.
Definition: COFF.h:604
llvm::COFF::IMAGE_SYM_TYPE_DWORD
@ IMAGE_SYM_TYPE_DWORD
An unsigned 4-byte integer.
Definition: COFF.h:255
llvm::COFF::IMAGE_REL_AMD64_REL32_5
@ IMAGE_REL_AMD64_REL32_5
Definition: COFF.h:355
llvm::COFF::header::TimeDateStamp
uint32_t TimeDateStamp
Definition: COFF.h:68
llvm::COFF::IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION
@ IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION
A BCD application.
Definition: COFF.h:618
llvm::COFF::IMAGE_SYM_CLASS_CLR_TOKEN
@ IMAGE_SYM_CLASS_CLR_TOKEN
External symbol in dmert public lib.
Definition: COFF.h:236
llvm::COFF::IMAGE_SYM_TYPE_STRUCT
@ IMAGE_SYM_TYPE_STRUCT
A structure.
Definition: COFF.h:248
llvm::COFF::PE32Header
Definition: COFF.h:540
llvm::COFF::PE32Header::MinorSubsystemVersion
uint16_t MinorSubsystemVersion
Definition: COFF.h:560
llvm::COFF::DOSHeader::OEMid
uint16_t OEMid
Definition: COFF.h:534
llvm::COFF::IMAGE_REL_AMD64_ADDR64
@ IMAGE_REL_AMD64_ADDR64
Definition: COFF.h:347
llvm::COFF::ImportHeader::getType
ImportType getType() const
Definition: COFF.h:718
llvm::COFF::IMAGE_SCN_GPREL
@ IMAGE_SCN_GPREL
Definition: COFF.h:295
llvm::COFF::IMAGE_REL_BASED_HIGHADJ
@ IMAGE_REL_BASED_HIGHADJ
Definition: COFF.h:678
llvm::COFF::RID_Version
@ RID_Version
Definition: COFF.h:177
llvm::COFF::IMAGE_SYM_CLASS_UNDEFINED_STATIC
@ IMAGE_SYM_CLASS_UNDEFINED_STATIC
Undefined static.
Definition: COFF.h:221
llvm::COFF::IMAGE_SYM_DTYPE_ARRAY
@ IMAGE_SYM_DTYPE_ARRAY
An array of base type.
Definition: COFF.h:262
llvm::COFF::IMAGE_SYM_TYPE_CHAR
@ IMAGE_SYM_TYPE_CHAR
A character (signed byte).
Definition: COFF.h:242
llvm::COFF::RelocationTypeI386
RelocationTypeI386
Definition: COFF.h:331
llvm::COFF::IMAGE_FILE_MACHINE_RISCV64
@ IMAGE_FILE_MACHINE_RISCV64
Definition: COFF.h:113
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_GUARD_CF
@ IMAGE_DLL_CHARACTERISTICS_GUARD_CF
Definition: COFF.h:642
llvm::COFF::IMAGE_REL_BASED_ARM_MOV32A
@ IMAGE_REL_BASED_ARM_MOV32A
Definition: COFF.h:680
llvm::COFF::PE32Header::MajorOperatingSystemVersion
uint16_t MajorOperatingSystemVersion
Definition: COFF.h:555
llvm::COFF::IMAGE_REL_AMD64_SECREL7
@ IMAGE_REL_AMD64_SECREL7
Definition: COFF.h:358
llvm::COFF::RID_Font
@ RID_Font
Definition: COFF.h:171
assert
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
llvm::COFF::AuxSymbolType
AuxSymbolType
Definition: COFF.h:268
llvm::COFF::PE32Header::SizeOfInitializedData
uint32_t SizeOfInitializedData
Definition: COFF.h:547
llvm::COFF::ImportHeader::TypeInfo
uint16_t TypeInfo
Definition: COFF.h:716
llvm::COFF::AuxiliarySectionDefinition::Selection
uint8_t Selection
Definition: COFF.h:452
llvm::COFF::IMAGE_FILE_MACHINE_ARM
@ IMAGE_FILE_MACHINE_ARM
Definition: COFF.h:99
llvm::COFF::BaseRelocationType
BaseRelocationType
Definition: COFF.h:673
llvm::COFF::IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP
@ IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP
If the image is on removable media, fully load it and copy it to swap.
Definition: COFF.h:149
llvm::COFF::ImportDirectoryTableEntry::ForwarderChain
uint32_t ForwarderChain
Definition: COFF.h:476
llvm::COFF::IMAGE_REL_BASED_ARM_MOV32T
@ IMAGE_REL_BASED_ARM_MOV32T
Definition: COFF.h:681
llvm::COFF::header::SizeOfOptionalHeader
uint16_t SizeOfOptionalHeader
Definition: COFF.h:71
llvm::COFF::Auxiliary::SectionDefinition
AuxiliarySectionDefinition SectionDefinition
Definition: COFF.h:467
llvm::COFF::IMAGE_SCN_LNK_COMDAT
@ IMAGE_SCN_LNK_COMDAT
Definition: COFF.h:294
llvm::COFF::WeakExternalCharacteristics
WeakExternalCharacteristics
Definition: COFF.h:439
llvm::COFF::IMAGE_SYM_CLASS_LABEL
@ IMAGE_SYM_CLASS_LABEL
Label.
Definition: COFF.h:213
llvm::COFF::BigObjHeader::Sig2
uint16_t Sig2
Must be 0xFFFF.
Definition: COFF.h:79
UUID
std::pair< llvm::MachO::Target, std::string > UUID
Definition: TextStubCommon.h:23
llvm::COFF::IMAGE_REL_ARM_ABSOLUTE
@ IMAGE_REL_ARM_ABSOLUTE
Definition: COFF.h:366
llvm::COFF::IMAGE_FILE_RELOCS_STRIPPED
@ IMAGE_FILE_RELOCS_STRIPPED
The file does not contain base relocations and must be loaded at its preferred base.
Definition: COFF.h:128
llvm::COFF::IMAGE_SYM_TYPE_MOE
@ IMAGE_SYM_TYPE_MOE
A member of enumeration (a specific value).
Definition: COFF.h:251
llvm::COFF::IMAGE_SYM_TYPE_INT
@ IMAGE_SYM_TYPE_INT
A natural integer type on the target.
Definition: COFF.h:244
llvm::COFF::IMAGE_SYM_CLASS_STRUCT_TAG
@ IMAGE_SYM_CLASS_STRUCT_TAG
Structure tag.
Definition: COFF.h:217
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_NO_SEH
@ IMAGE_DLL_CHARACTERISTICS_NO_SEH
Does not use structured exception handling (SEH).
Definition: COFF.h:634
llvm::COFF::DEBUG_DIRECTORY
@ DEBUG_DIRECTORY
Definition: COFF.h:589
llvm::COFF::IMAGE_COMDAT_SELECT_LARGEST
@ IMAGE_COMDAT_SELECT_LARGEST
Definition: COFF.h:412
llvm::COFF::RID_MessageTable
@ RID_MessageTable
Definition: COFF.h:174
llvm::COFF::IMAGE_FILE_MACHINE_MIPSFPU16
@ IMAGE_FILE_MACHINE_MIPSFPU16
Definition: COFF.h:108
llvm::COFF::AuxiliarySectionDefinition::unused
char unused
Definition: COFF.h:453
llvm::COFF::relocation::VirtualAddress
uint32_t VirtualAddress
Definition: COFF.h:326
llvm::COFF::ImportNameType
ImportNameType
Definition: COFF.h:692
llvm::COFF::BigObjHeader::Version
uint16_t Version
Definition: COFF.h:80
llvm::COFF::DEBUG_HASHES_SECTION_MAGIC
@ DEBUG_HASHES_SECTION_MAGIC
Definition: COFF.h:727
llvm::COFF::ImportLookupTableEntry32::data
uint32_t data
Definition: COFF.h:490
llvm::COFF::BigObjMagic
static const char BigObjMagic[]
Definition: COFF.h:38
llvm::COFF::C_Invalid
@ C_Invalid
Definition: COFF.h:124
llvm::COFF::PE32Header::MinorLinkerVersion
uint8_t MinorLinkerVersion
Definition: COFF.h:545
llvm::COFF::ImportDirectoryTableEntry::TimeDateStamp
uint32_t TimeDateStamp
Definition: COFF.h:475
llvm::COFF::IMAGE_SYM_CLASS_BLOCK
@ IMAGE_SYM_CLASS_BLOCK
".bb" or ".eb" - beginning or end of block
Definition: COFF.h:227
llvm::COFF::PE32Header::SizeOfHeapCommit
uint64_t SizeOfHeapCommit
Definition: COFF.h:571
llvm::COFF::IMAGE_SCN_ALIGN_4096BYTES
@ IMAGE_SCN_ALIGN_4096BYTES
Definition: COFF.h:312
llvm::COFF::MT_Invalid
@ MT_Invalid
Definition: COFF.h:94
llvm::COFF::DOSHeader::InitialRelativeSS
uint16_t InitialRelativeSS
Definition: COFF.h:526
llvm::COFF::IMAGE_SYM_CLASS_UNION_TAG
@ IMAGE_SYM_CLASS_UNION_TAG
Union tag.
Definition: COFF.h:219
llvm::COFF::IMAGE_SCN_ALIGN_128BYTES
@ IMAGE_SCN_ALIGN_128BYTES
Definition: COFF.h:307
llvm::COFF::DOSHeader
The DOS compatible header at the front of all PEs.
Definition: COFF.h:518
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_EX_CET_COMPAT
@ IMAGE_DLL_CHARACTERISTICS_EX_CET_COMPAT
Image is CET compatible.
Definition: COFF.h:649
llvm::COFF::IMAGE_SCN_ALIGN_8BYTES
@ IMAGE_SCN_ALIGN_8BYTES
Definition: COFF.h:303
uint32_t
llvm::COFF::SectionSize
@ SectionSize
Definition: COFF.h:61
llvm::COFF::RID_DLGInclude
@ RID_DLGInclude
Definition: COFF.h:178
llvm::COFF::IMAGE_SYM_TYPE_BYTE
@ IMAGE_SYM_TYPE_BYTE
A byte; unsigned 1-byte integer.
Definition: COFF.h:252
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE
@ IMAGE_DLL_CHARACTERISTICS_TERMINAL_SERVER_AWARE
Terminal Server aware.
Definition: COFF.h:644
llvm::COFF::IMAGE_REL_AMD64_REL32_2
@ IMAGE_REL_AMD64_REL32_2
Definition: COFF.h:352
llvm::COFF::PE32Header::SizeOfCode
uint32_t SizeOfCode
Definition: COFF.h:546
llvm::COFF::DOSHeader::InitialIP
uint16_t InitialIP
Definition: COFF.h:529
llvm::COFF::IMAGE_REL_ARM64_PAGEOFFSET_12A
@ IMAGE_REL_ARM64_PAGEOFFSET_12A
Definition: COFF.h:392
llvm::COFF::AuxiliaryWeakExternal::TagIndex
uint32_t TagIndex
Definition: COFF.h:434
llvm::COFF::IMAGE_REL_AMD64_SECREL
@ IMAGE_REL_AMD64_SECREL
Definition: COFF.h:357
llvm::COFF::IMAGE_REL_ARM_REL32
@ IMAGE_REL_ARM_REL32
Definition: COFF.h:374
llvm::COFF::PE32Header::SizeOfStackCommit
uint64_t SizeOfStackCommit
Definition: COFF.h:569
llvm::COFF::DOSHeader::AddressOfRelocationTable
uint16_t AddressOfRelocationTable
Definition: COFF.h:531
llvm::COFF::IMAGE_FILE_MACHINE_ARM64
@ IMAGE_FILE_MACHINE_ARM64
Definition: COFF.h:101
llvm::COFF::IMAGE_REL_ARM_BLX24
@ IMAGE_REL_ARM_BLX24
Definition: COFF.h:372
llvm::COFF::IMAGE_REL_I386_TOKEN
@ IMAGE_REL_I386_TOKEN
Definition: COFF.h:340
llvm::COFF::IMAGE_REL_ARM64_REL32
@ IMAGE_REL_ARM64_REL32
Definition: COFF.h:403
llvm::COFF::PE32Header::SizeOfHeapReserve
uint64_t SizeOfHeapReserve
Definition: COFF.h:570
llvm::COFF::PE32Header::BaseOfData
uint32_t BaseOfData
Definition: COFF.h:551
llvm::COFF::IMPORT_TABLE
@ IMPORT_TABLE
Definition: COFF.h:584
llvm::COFF::Auxiliary::WeakExternal
AuxiliaryWeakExternal WeakExternal
Definition: COFF.h:466
llvm::COFF::AuxiliaryCLRToken::unused1
uint8_t unused1
Definition: COFF.h:458
llvm::COFF::IMAGE_SCN_MEM_LOCKED
@ IMAGE_SCN_MEM_LOCKED
Definition: COFF.h:298
llvm::COFF::BASE_RELOCATION_TABLE
@ BASE_RELOCATION_TABLE
Definition: COFF.h:588
llvm::COFF::CodeViewIdentifiers
CodeViewIdentifiers
Definition: COFF.h:725
llvm::COFF::DEBUG_SECTION_MAGIC
@ DEBUG_SECTION_MAGIC
Definition: COFF.h:726
llvm::COFF::header::NumberOfSections
int32_t NumberOfSections
Definition: COFF.h:67
llvm::COFF::IMAGE_REL_ARM_SECTION
@ IMAGE_REL_ARM_SECTION
Definition: COFF.h:375
llvm::COFF::section::NumberOfLineNumbers
uint16_t NumberOfLineNumbers
Definition: COFF.h:279
llvm::COFF::RelocationSize
@ RelocationSize
Definition: COFF.h:62
llvm::COFF::PE32Header::PE32
@ PE32
Definition: COFF.h:541
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
@ IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
DLL can be relocated at load time.
Definition: COFF.h:625
llvm::COFF::IMAGE_REL_BASED_ABSOLUTE
@ IMAGE_REL_BASED_ABSOLUTE
Definition: COFF.h:674
llvm::COFF::IMAGE_FILE_MACHINE_POWERPC
@ IMAGE_FILE_MACHINE_POWERPC
Definition: COFF.h:109
llvm::COFF::RID_PlugPlay
@ RID_PlugPlay
Definition: COFF.h:179
llvm::COFF::MaxNumberOfSections16
const int32_t MaxNumberOfSections16
Definition: COFF.h:33
llvm::COFF::AuxiliaryCLRToken::SymbolTableIndex
uint32_t SymbolTableIndex
Definition: COFF.h:459
uint16_t
llvm::COFF::NUM_DATA_DIRECTORIES
@ NUM_DATA_DIRECTORIES
Definition: COFF.h:599
llvm::COFF::ImportHeader::Sig1
uint16_t Sig1
Must be IMAGE_FILE_MACHINE_UNKNOWN (0).
Definition: COFF.h:709
llvm::COFF::IMAGE_SCN_MEM_PRELOAD
@ IMAGE_SCN_MEM_PRELOAD
Definition: COFF.h:299
llvm::COFF::EXPORT_TABLE
@ EXPORT_TABLE
Definition: COFF.h:583
llvm::COFF::WindowsSubsystem
WindowsSubsystem
Definition: COFF.h:602
llvm::COFF::PE32Header::NumberOfRvaAndSize
uint32_t NumberOfRvaAndSize
Definition: COFF.h:574
llvm::COFF::IMAGE_REL_ARM64_TOKEN
@ IMAGE_REL_ARM64_TOKEN
Definition: COFF.h:398
llvm::COFF::ImportDirectoryTableEntry
The Import Directory Table.
Definition: COFF.h:473
llvm::COFF::RID_AniCursor
@ RID_AniCursor
Definition: COFF.h:181
llvm::COFF::IMAGE_REL_ARM64_BRANCH14
@ IMAGE_REL_ARM64_BRANCH14
Definition: COFF.h:402
llvm::COFF::RID_Menu
@ RID_Menu
Definition: COFF.h:167
llvm::COFF::IMAGE_SCN_CNT_CODE
@ IMAGE_SCN_CNT_CODE
Definition: COFF.h:288
llvm::COFF::AuxiliarySectionDefinition::Number
uint32_t Number
Definition: COFF.h:451
llvm::COFF::section
Definition: COFF.h:270
llvm::COFF::IMAGE_REL_AMD64_ADDR32NB
@ IMAGE_REL_AMD64_ADDR32NB
Definition: COFF.h:349
llvm::COFF::IMAGE_SYM_TYPE_SHORT
@ IMAGE_SYM_TYPE_SHORT
A 2-byte signed integer.
Definition: COFF.h:243
llvm::COFF::AuxiliaryFunctionDefinition::TotalSize
uint32_t TotalSize
Definition: COFF.h:419
llvm::COFF::IMAGE_REL_I386_REL16
@ IMAGE_REL_I386_REL16
Definition: COFF.h:334
llvm::COFF::Auxiliary::bfAndefSymbol
AuxiliarybfAndefSymbol bfAndefSymbol
Definition: COFF.h:465
llvm::COFF::IMAGE_SYM_TYPE_UNION
@ IMAGE_SYM_TYPE_UNION
An union.
Definition: COFF.h:249
llvm::COFF::ImportType
ImportType
Definition: COFF.h:686
llvm::COFF::IMPORT_CODE
@ IMPORT_CODE
Definition: COFF.h:687
llvm::COFF::IMAGE_REL_I386_SEG12
@ IMAGE_REL_I386_SEG12
Definition: COFF.h:337
llvm::COFF::RID_Bitmap
@ RID_Bitmap
Definition: COFF.h:165
llvm::COFF::IMAGE_REL_ARM_BLX23T
@ IMAGE_REL_ARM_BLX23T
Definition: COFF.h:381
llvm::COFF::MachineTypes
MachineTypes
Definition: COFF.h:93
llvm::COFF::IMAGE_REL_AMD64_REL32_1
@ IMAGE_REL_AMD64_REL32_1
Definition: COFF.h:351
llvm::COFF::AuxiliarySectionDefinition
Definition: COFF.h:446
llvm::COFF::IMAGE_SCN_ALIGN_1024BYTES
@ IMAGE_SCN_ALIGN_1024BYTES
Definition: COFF.h:310
llvm::COFF::IMAGE_DLL_CHARACTERISTICS_APPCONTAINER
@ IMAGE_DLL_CHARACTERISTICS_APPCONTAINER
A WDM driver.
Definition: COFF.h:638
llvm::COFF::PE32Header::AddressOfEntryPoint
uint32_t AddressOfEntryPoint
Definition: COFF.h:549
llvm::COFF::IMAGE_SYM_CLASS_SECTION
@ IMAGE_SYM_CLASS_SECTION
Line number, reformatted as symbol.
Definition: COFF.h:233
llvm::COFF::IMAGE_SUBSYSTEM_NATIVE_WINDOWS
@ IMAGE_SUBSYSTEM_NATIVE_WINDOWS
Native Windows 9x driver.
Definition: COFF.h:609
llvm::COFF::IMAGE_FILE_NET_RUN_FROM_SWAP
@ IMAGE_FILE_NET_RUN_FROM_SWAP
If the image is on network media, fully load it and copy it to swap.
Definition: COFF.h:151
llvm::COFF::DLLCharacteristics
DLLCharacteristics
Definition: COFF.h:621
llvm::COFF::header::NumberOfSymbols
uint32_t NumberOfSymbols
Definition: COFF.h:70
llvm::COFF::IMAGE_FILE_EXECUTABLE_IMAGE
@ IMAGE_FILE_EXECUTABLE_IMAGE
The file is valid and can be run.
Definition: COFF.h:130
llvm::COFF::DOSHeader::AddressOfNewExeHeader
uint32_t AddressOfNewExeHeader
Definition: COFF.h:537
llvm::COFF::RID_AniIcon
@ RID_AniIcon
Definition: COFF.h:182
llvm::COFF::AuxiliaryFunctionDefinition::PointerToNextFunction
uint32_t PointerToNextFunction
Definition: COFF.h:421
llvm::COFF::IMAGE_SYM_TYPE_VOID
@ IMAGE_SYM_TYPE_VOID
Used with void pointers and functions.
Definition: COFF.h:241
llvm::COFF::IMAGE_FILE_MACHINE_SH3
@ IMAGE_FILE_MACHINE_SH3
Definition: COFF.h:115
llvm::COFF::RelocationTypesARM64
RelocationTypesARM64
Definition: COFF.h:385
llvm::COFF::AuxiliaryWeakExternal::Characteristics
uint32_t Characteristics
Definition: COFF.h:435
llvm::COFF::IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS
@ IMAGE_DEBUG_TYPE_EX_DLLCHARACTERISTICS
Definition: COFF.h:670
llvm::COFF::IMAGE_REL_AMD64_REL32_3
@ IMAGE_REL_AMD64_REL32_3
Definition: COFF.h:353
llvm::COFF::CLR_RUNTIME_HEADER
@ CLR_RUNTIME_HEADER
Definition: COFF.h:597
llvm::COFF::IMPORT_DATA
@ IMPORT_DATA
Definition: COFF.h:688
llvm::COFF::IMAGE_REL_I386_SECREL
@ IMAGE_REL_I386_SECREL
Definition: COFF.h:339
llvm::COFF::BigObjHeader::unused1
uint32_t unused1
Definition: COFF.h:84
llvm::COFF::RID_Icon
@ RID_Icon
Definition: COFF.h:166
llvm::COFF::IMAGE_FILE_DEBUG_STRIPPED
@ IMAGE_FILE_DEBUG_STRIPPED
Debugging info has been removed.
Definition: COFF.h:147
llvm::COFF::IMAGE_DEBUG_TYPE_FPO
@ IMAGE_DEBUG_TYPE_FPO
Definition: COFF.h:656
llvm::COFF::isReservedSectionNumber
bool isReservedSectionNumber(int32_t SectionNumber)
Definition: COFF.h:730
llvm::COFF::IMAGE_SYM_DTYPE_NULL
@ IMAGE_SYM_DTYPE_NULL
No complex type; simple scalar variable.
Definition: COFF.h:259
llvm::COFF::PE32Header::SizeOfUninitializedData
uint32_t SizeOfUninitializedData
Definition: COFF.h:548
llvm::COFF::IMAGE_REL_ARM64_BRANCH19
@ IMAGE_REL_ARM64_BRANCH19
Definition: COFF.h:401
llvm::COFF::ClGlObjMagic
static const char ClGlObjMagic[]
Definition: COFF.h:43
llvm::COFF::IMAGE_SUBSYSTEM_WINDOWS_GUI
@ IMAGE_SUBSYSTEM_WINDOWS_GUI
The Windows GUI subsystem.
Definition: COFF.h:605
llvm::COFF::BigObjHeader::TimeDateStamp
uint32_t TimeDateStamp
Definition: COFF.h:82
llvm::COFF::IMAGE_FILE_MACHINE_R4000
@ IMAGE_FILE_MACHINE_R4000
Definition: COFF.h:111
llvm::COFF::Header32Size
@ Header32Size
Definition: COFF.h:57
llvm::COFF::AuxiliaryFunctionDefinition::PointerToLinenumber
uint32_t PointerToLinenumber
Definition: COFF.h:420
llvm::COFF::IMAGE_SUBSYSTEM_POSIX_CUI
@ IMAGE_SUBSYSTEM_POSIX_CUI
The POSIX character subsystem.
Definition: COFF.h:608
llvm::COFF::IMAGE_SCN_MEM_NOT_CACHED
@ IMAGE_SCN_MEM_NOT_CACHED
Definition: COFF.h:317
llvm::COFF::PE32Header::MinorImageVersion
uint16_t MinorImageVersion
Definition: COFF.h:558
llvm::COFF::AuxiliaryWeakExternal::unused
uint8_t unused[10]
Definition: COFF.h:436
llvm::COFF::IMAGE_REL_AMD64_SECTION
@ IMAGE_REL_AMD64_SECTION
Definition: COFF.h:356
llvm::COFF::AuxiliarybfAndefSymbol::unused2
uint8_t unused2[6]
Definition: COFF.h:428
llvm::COFF::header
Definition: COFF.h:65
llvm::COFF::ImportLookupTableEntry32
The PE32 Import Lookup Table.
Definition: COFF.h:489
llvm::COFF::IMAGE_SCN_MEM_EXECUTE
@ IMAGE_SCN_MEM_EXECUTE
Definition: COFF.h:320
llvm::COFF::IMAGE_DEBUG_TYPE_MISC
@ IMAGE_DEBUG_TYPE_MISC
Definition: COFF.h:657
llvm::COFF::IMAGE_SYM_CLASS_AUTOMATIC
@ IMAGE_SYM_CLASS_AUTOMATIC
Stack variable.
Definition: COFF.h:208
llvm::COFF::DOSHeader::FileSizeInPages
uint16_t FileSizeInPages
Definition: COFF.h:521
llvm::COFF::IMAGE_FILE_MACHINE_AM33
@ IMAGE_FILE_MACHINE_AM33
Definition: COFF.h:97
llvm::COFF::ImportHeader::getNameType
ImportNameType getNameType() const
Definition: COFF.h:720
DataTypes.h
llvm::COFF::DataDirectoryIndex
DataDirectoryIndex
Definition: COFF.h:582
llvm::COFF::IMAGE_SCN_ALIGN_MASK
@ IMAGE_SCN_ALIGN_MASK
Definition: COFF.h:314
llvm::COFF::symbol::SectionNumber
int32_t SectionNumber
Definition: COFF.h:190
llvm::COFF::AuxiliaryCLRToken::unused2
char unused2[12]
Definition: COFF.h:460
llvm::COFF::BigObjHeader::unused4
uint32_t unused4
Definition: COFF.h:87
llvm::COFF::PE32Header::SizeOfStackReserve
uint64_t SizeOfStackReserve
Definition: COFF.h:568
llvm::COFF::IMAGE_DEBUG_TYPE_VC_FEATURE
@ IMAGE_DEBUG_TYPE_VC_FEATURE
Definition: COFF.h:665
llvm::COFF::IMAGE_SCN_MEM_16BIT
@ IMAGE_SCN_MEM_16BIT
Definition: COFF.h:297
llvm::COFF::DOSHeader::InitialSP
uint16_t InitialSP
Definition: COFF.h:527
llvm::COFF::IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY
@ IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY
Definition: COFF.h:440
llvm::COFF::DataDirectory::RelativeVirtualAddress
uint32_t RelativeVirtualAddress
Definition: COFF.h:578
llvm::COFF::DOSHeader::Reserved
uint16_t Reserved[4]
Definition: COFF.h:533
llvm::COFF::symbol::Name
char Name[NameSize]
Definition: COFF.h:188
llvm::COFF::IMAGE_DEBUG_TYPE_MPX
@ IMAGE_DEBUG_TYPE_MPX
Definition: COFF.h:668
llvm::COFF::BigObjHeader::unused2
uint32_t unused2
Definition: COFF.h:85
llvm::COFF::RID_VXD
@ RID_VXD
Definition: COFF.h:180
llvm::COFF::section::Name
char Name[NameSize]
Definition: COFF.h:271
llvm::COFF::IMAGE_SYM_TYPE_ENUM
@ IMAGE_SYM_TYPE_ENUM
An enumerated type.
Definition: COFF.h:250
llvm::COFF::IMAGE_SYM_TYPE_DOUBLE
@ IMAGE_SYM_TYPE_DOUBLE
An 8-byte floating-point number.
Definition: COFF.h:247
llvm::COFF::IMAGE_REL_AMD64_TOKEN
@ IMAGE_REL_AMD64_TOKEN
Definition: COFF.h:359
llvm::COFF::IMAGE_REL_ARM64_ADDR64
@ IMAGE_REL_ARM64_ADDR64
Definition: COFF.h:400
llvm::COFF::symbol::StorageClass
uint8_t StorageClass
Definition: COFF.h:192
llvm::COFF::IMAGE_REL_ARM_BLX11
@ IMAGE_REL_ARM_BLX11
Definition: COFF.h:373
llvm::COFF::IMAGE_REL_ARM_ADDR32
@ IMAGE_REL_ARM_ADDR32
Definition: COFF.h:367
llvm::COFF::IMAGE_SYM_CLASS_MEMBER_OF_STRUCT
@ IMAGE_SYM_CLASS_MEMBER_OF_STRUCT
Member of structure.
Definition: COFF.h:215
llvm::COFF::IMAGE_SYM_DTYPE_FUNCTION
@ IMAGE_SYM_DTYPE_FUNCTION
A function that returns a base type.
Definition: COFF.h:261
llvm::COFF::IMAGE_REL_I386_SECREL7
@ IMAGE_REL_I386_SECREL7
Definition: COFF.h:341
llvm::COFF::IMAGE_SYM_DEBUG
@ IMAGE_SYM_DEBUG
Definition: COFF.h:197
llvm::COFF::SectionCharacteristics
SectionCharacteristics
Definition: COFF.h:283
llvm::COFF::IMAGE_SYM_CLASS_ENUM_TAG
@ IMAGE_SYM_CLASS_ENUM_TAG
Enumeration tag.
Definition: COFF.h:222
llvm::COFF::RID_Group_Cursor
@ RID_Group_Cursor
Definition: COFF.h:175
llvm::COFF::BOUND_IMPORT
@ BOUND_IMPORT
Definition: COFF.h:594
llvm::COFF::PE32Header::MajorLinkerVersion
uint8_t MajorLinkerVersion
Definition: COFF.h:544
llvm::COFF::IMAGE_SYM_TYPE_FLOAT
@ IMAGE_SYM_TYPE_FLOAT
A 4-byte floating-point number.
Definition: COFF.h:246
llvm::COFF::IMAGE_FILE_MACHINE_M32R
@ IMAGE_FILE_MACHINE_M32R
Definition: COFF.h:105
llvm::COFF::IMAGE_WEAK_EXTERN_SEARCH_LIBRARY
@ IMAGE_WEAK_EXTERN_SEARCH_LIBRARY
Definition: COFF.h:441
llvm::COFF::ImportLookupTableEntry32::isOrdinal
bool isOrdinal() const
Is this entry specified by ordinal, or name?
Definition: COFF.h:493
llvm::COFF::SC_Invalid
@ SC_Invalid
Definition: COFF.h:284
llvm::COFF::IMAGE_COMDAT_SELECT_ANY
@ IMAGE_COMDAT_SELECT_ANY
Definition: COFF.h:408
llvm::COFF::IMAGE_SCN_MEM_WRITE
@ IMAGE_SCN_MEM_WRITE
Definition: COFF.h:322
llvm::COFF::BigObjHeader::Sig1
uint16_t Sig1
Must be IMAGE_FILE_MACHINE_UNKNOWN (0).
Definition: COFF.h:78
llvm::COFF::IMAGE_SUBSYSTEM_UNKNOWN
@ IMAGE_SUBSYSTEM_UNKNOWN
An unknown subsystem.
Definition: COFF.h:603
llvm::COFF::RelocationTypeAMD64
RelocationTypeAMD64
Definition: COFF.h:345
llvm::COFF::DOSHeader::Magic
uint16_t Magic
Definition: COFF.h:519
llvm::COFF::IMAGE_SUBSYSTEM_EFI_APPLICATION
@ IMAGE_SUBSYSTEM_EFI_APPLICATION
An EFI application.
Definition: COFF.h:611
llvm::COFF::PE32Header::DLLCharacteristics
uint16_t DLLCharacteristics
Definition: COFF.h:567
llvm::COFF::IMAGE_REL_ARM64_SECTION
@ IMAGE_REL_ARM64_SECTION
Definition: COFF.h:399
llvm::COFF::ImportHeader::SizeOfData
uint32_t SizeOfData
Definition: COFF.h:714