• Home
  • Raw
  • Download

Lines Matching refs:COFF

16 #define ECase(X) IO.enumCase(Value, #X, COFF::X);
20 Section::Section() { memset(&Header, 0, sizeof(COFF::section)); } in Section()
21 Symbol::Symbol() { memset(&Header, 0, sizeof(COFF::symbol)); } in Symbol()
22 Object::Object() { memset(&Header, 0, sizeof(COFF::header)); } in Object()
52 void ScalarEnumerationTraits<COFF::MachineTypes>::enumeration( in enumeration()
53 IO &IO, COFF::MachineTypes &Value) { in enumeration()
77 void ScalarEnumerationTraits<COFF::SymbolBaseType>::enumeration( in enumeration()
78 IO &IO, COFF::SymbolBaseType &Value) { in enumeration()
97 void ScalarEnumerationTraits<COFF::SymbolStorageClass>::enumeration( in enumeration()
98 IO &IO, COFF::SymbolStorageClass &Value) { in enumeration()
128 void ScalarEnumerationTraits<COFF::SymbolComplexType>::enumeration( in enumeration()
129 IO &IO, COFF::SymbolComplexType &Value) { in enumeration()
136 void ScalarEnumerationTraits<COFF::RelocationTypeI386>::enumeration( in enumeration()
137 IO &IO, COFF::RelocationTypeI386 &Value) { in enumeration()
151 void ScalarEnumerationTraits<COFF::RelocationTypeAMD64>::enumeration( in enumeration()
152 IO &IO, COFF::RelocationTypeAMD64 &Value) { in enumeration()
172 void ScalarEnumerationTraits<COFF::WindowsSubsystem>::enumeration( in enumeration()
173 IO &IO, COFF::WindowsSubsystem &Value) { in enumeration()
191 #define BCase(X) IO.bitSetCase(Value, #X, COFF::X);
192 void ScalarBitSetTraits<COFF::Characteristics>::bitset( in bitset()
193 IO &IO, COFF::Characteristics &Value) { in bitset()
211 void ScalarBitSetTraits<COFF::SectionCharacteristics>::bitset( in bitset()
212 IO &IO, COFF::SectionCharacteristics &Value) { in bitset()
236 void ScalarBitSetTraits<COFF::DLLCharacteristics>::bitset( in bitset()
237 IO &IO, COFF::DLLCharacteristics &Value) { in bitset()
273 : Characteristics(COFF::SectionCharacteristics(0)) {} in NSectionCharacteristics()
275 : Characteristics(COFF::SectionCharacteristics(C)) {} in NSectionCharacteristics()
277 COFF::SectionCharacteristics Characteristics;
290 NStorageClass(IO &) : StorageClass(COFF::SymbolStorageClass(0)) {} in NStorageClass()
291 NStorageClass(IO &, uint8_t S) : StorageClass(COFF::SymbolStorageClass(S)) {} in NStorageClass()
294 COFF::SymbolStorageClass StorageClass;
298 NMachine(IO &) : Machine(COFF::MachineTypes(0)) {} in NMachine()
299 NMachine(IO &, uint16_t M) : Machine(COFF::MachineTypes(M)) {} in NMachine()
301 COFF::MachineTypes Machine;
305 NHeaderCharacteristics(IO &) : Characteristics(COFF::Characteristics(0)) {} in NHeaderCharacteristics()
307 : Characteristics(COFF::Characteristics(C)) {} in NHeaderCharacteristics()
310 COFF::Characteristics Characteristics;
322 NWindowsSubsystem(IO &) : Subsystem(COFF::WindowsSubsystem(0)) {} in NWindowsSubsystem()
323 NWindowsSubsystem(IO &, uint16_t C) : Subsystem(COFF::WindowsSubsystem(C)) {} in NWindowsSubsystem()
326 COFF::WindowsSubsystem Subsystem;
330 NDLLCharacteristics(IO &) : Characteristics(COFF::DLLCharacteristics(0)) {} in NDLLCharacteristics()
332 : Characteristics(COFF::DLLCharacteristics(C)) {} in NDLLCharacteristics()
335 COFF::DLLCharacteristics Characteristics;
345 COFF::header &H = *static_cast<COFF::header *>(IO.getContext()); in mapping()
346 if (H.Machine == COFF::IMAGE_FILE_MACHINE_I386) { in mapping()
347 MappingNormalization<NType<COFF::RelocationTypeI386>, uint16_t> NT( in mapping()
350 } else if (H.Machine == COFF::IMAGE_FILE_MACHINE_AMD64) { in mapping()
351 MappingNormalization<NType<COFF::RelocationTypeAMD64>, uint16_t> NT( in mapping()
359 void MappingTraits<COFF::DataDirectory>::mapping(IO &IO, in mapping()
360 COFF::DataDirectory &DD) { in mapping()
391 IO.mapOptional("ExportTable", PH.DataDirectories[COFF::EXPORT_TABLE]); in mapping()
392 IO.mapOptional("ImportTable", PH.DataDirectories[COFF::IMPORT_TABLE]); in mapping()
393 IO.mapOptional("ResourceTable", PH.DataDirectories[COFF::RESOURCE_TABLE]); in mapping()
394 IO.mapOptional("ExceptionTable", PH.DataDirectories[COFF::EXCEPTION_TABLE]); in mapping()
395 IO.mapOptional("CertificateTable", PH.DataDirectories[COFF::CERTIFICATE_TABLE]); in mapping()
397 PH.DataDirectories[COFF::BASE_RELOCATION_TABLE]); in mapping()
398 IO.mapOptional("Debug", PH.DataDirectories[COFF::DEBUG]); in mapping()
399 IO.mapOptional("Architecture", PH.DataDirectories[COFF::ARCHITECTURE]); in mapping()
400 IO.mapOptional("GlobalPtr", PH.DataDirectories[COFF::GLOBAL_PTR]); in mapping()
401 IO.mapOptional("TlsTable", PH.DataDirectories[COFF::TLS_TABLE]); in mapping()
403 PH.DataDirectories[COFF::LOAD_CONFIG_TABLE]); in mapping()
404 IO.mapOptional("BoundImport", PH.DataDirectories[COFF::BOUND_IMPORT]); in mapping()
405 IO.mapOptional("IAT", PH.DataDirectories[COFF::IAT]); in mapping()
407 PH.DataDirectories[COFF::DELAY_IMPORT_DESCRIPTOR]); in mapping()
409 PH.DataDirectories[COFF::CLR_RUNTIME_HEADER]); in mapping()
412 void MappingTraits<COFF::header>::mapping(IO &IO, COFF::header &H) { in mapping()
422 void MappingTraits<COFF::AuxiliaryFunctionDefinition>::mapping( in mapping()
423 IO &IO, COFF::AuxiliaryFunctionDefinition &AFD) { in mapping()
430 void MappingTraits<COFF::AuxiliarybfAndefSymbol>::mapping( in mapping()
431 IO &IO, COFF::AuxiliarybfAndefSymbol &AAS) { in mapping()
436 void MappingTraits<COFF::AuxiliaryWeakExternal>::mapping( in mapping()
437 IO &IO, COFF::AuxiliaryWeakExternal &AWE) { in mapping()
444 void MappingTraits<COFF::AuxiliarySectionDefinition>::mapping( in mapping()
445 IO &IO, COFF::AuxiliarySectionDefinition &ASD) { in mapping()
457 void MappingTraits<COFF::AuxiliaryCLRToken>::mapping( in mapping()
458 IO &IO, COFF::AuxiliaryCLRToken &ACT) { in mapping()