Searched refs:OptionalHeader (Results 1 – 7 of 7) sorted by relevance
49 bool isPE() const { return Obj.OptionalHeader.has_value(); } in isPE()53 return Obj.OptionalHeader->Header.FileAlignment; in getFileAlignment()164 CP.Obj.OptionalHeader->Header.NumberOfRvaAndSize; in layoutOptionalHeader()347 Header->SectionAlignment = CP.Obj.OptionalHeader->Header.SectionAlignment; in initializeOptionalHeader()348 Header->FileAlignment = CP.Obj.OptionalHeader->Header.FileAlignment; in initializeOptionalHeader()373 CP.Obj.OptionalHeader->Header.AddressOfEntryPoint; // RVA in initializeOptionalHeader()374 Header->ImageBase = CP.Obj.OptionalHeader->Header.ImageBase; in initializeOptionalHeader()376 CP.Obj.OptionalHeader->Header.MajorOperatingSystemVersion; in initializeOptionalHeader()378 CP.Obj.OptionalHeader->Header.MinorOperatingSystemVersion; in initializeOptionalHeader()379 Header->MajorImageVersion = CP.Obj.OptionalHeader->Header.MajorImageVersion; in initializeOptionalHeader()[all …]
704 IO.mapOptional("OptionalHeader", Obj.OptionalHeader); in mapping()
187 IMAGE_OPTIONAL_HEADER OptionalHeader; member192 IMAGE_ROM_OPTIONAL_HEADER OptionalHeader; member197 FIELD_OFFSET( IMAGE_NT_HEADERS, OptionalHeader ) + \
99 } OptionalHeader; member 118 Hdr.NTHeader.OptionalHeader.Header.Magic = COFF::PE32Header::PE32_PLUS; in createHeaderBlock() 138 offsetof(NTHeader, OptionalHeader) + in addImageBaseRelocationEdge()
1019 &headers->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_EXPORT]; in InternalGetProcAddress()1099 &headers->OptionalHeader.DataDirectory[IMAGE_DIRECTORY_ENTRY_IMPORT]; in OverrideImportedFunction()
117 std::optional<PEHeader> OptionalHeader; member