Lines Matching refs:OptionalHeader

46   bool isPE() const { return Obj.OptionalHeader.hasValue(); }  in isPE()
52 return Obj.OptionalHeader->Header.FileAlignment; in getFileAlignment()
291 Header->SectionAlignment = CP.Obj.OptionalHeader->Header.SectionAlignment; in initializeOptionalHeader()
292 Header->FileAlignment = CP.Obj.OptionalHeader->Header.FileAlignment; in initializeOptionalHeader()
319 CP.Obj.OptionalHeader->Header.AddressOfEntryPoint; // RVA in initializeOptionalHeader()
320 Header->ImageBase = CP.Obj.OptionalHeader->Header.ImageBase; in initializeOptionalHeader()
322 CP.Obj.OptionalHeader->Header.MajorOperatingSystemVersion; in initializeOptionalHeader()
324 CP.Obj.OptionalHeader->Header.MinorOperatingSystemVersion; in initializeOptionalHeader()
326 CP.Obj.OptionalHeader->Header.MajorImageVersion; in initializeOptionalHeader()
328 CP.Obj.OptionalHeader->Header.MinorImageVersion; in initializeOptionalHeader()
330 CP.Obj.OptionalHeader->Header.MajorSubsystemVersion; in initializeOptionalHeader()
332 CP.Obj.OptionalHeader->Header.MinorSubsystemVersion; in initializeOptionalHeader()
335 Header->Subsystem = CP.Obj.OptionalHeader->Header.Subsystem; in initializeOptionalHeader()
336 Header->DLLCharacteristics = CP.Obj.OptionalHeader->Header.DLLCharacteristics; in initializeOptionalHeader()
337 Header->SizeOfStackReserve = CP.Obj.OptionalHeader->Header.SizeOfStackReserve; in initializeOptionalHeader()
338 Header->SizeOfStackCommit = CP.Obj.OptionalHeader->Header.SizeOfStackCommit; in initializeOptionalHeader()
339 Header->SizeOfHeapReserve = CP.Obj.OptionalHeader->Header.SizeOfHeapReserve; in initializeOptionalHeader()
340 Header->SizeOfHeapCommit = CP.Obj.OptionalHeader->Header.SizeOfHeapCommit; in initializeOptionalHeader()
404 CP.Obj.OptionalHeader->DataDirectories) { in writeCOFF()