Searched refs:dos_header (Results 1 – 5 of 5) sorted by relevance
420 IMAGE_DOS_HEADER dos_header; in GetPreferredBase() local422 if (!ReadFromFile(fd, &dos_header, sizeof(dos_header), &bytes_read) || in GetPreferredBase()423 bytes_read != sizeof(dos_header)) in GetPreferredBase()427 if (dos_header.e_magic != IMAGE_DOS_SIGNATURE) in GetPreferredBase()436 if (::SetFilePointer(fd, dos_header.e_lfanew, nullptr, FILE_BEGIN) == in GetPreferredBase()
40 struct dos_header { struct796 const dos_header *getDOSHeader() const { in getDOSHeader()799 return reinterpret_cast<const dos_header *>(base()); in getDOSHeader()
89 void printDOSHeader(const dos_header *DH);584 if (const dos_header *DH = Obj->getDOSHeader()) in printFileHeaders()588 void COFFDumper::printDOSHeader(const dos_header *DH) { in printDOSHeader()
649 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) { in COFFObjectFile()652 const auto *DH = reinterpret_cast<const dos_header *>(base()); in COFFObjectFile()
355 object::dos_header DH; in writeCOFF()