Lines Matching refs:Header
560 // Check that we at least have enough room for a header.
567 // PE header is optional and is present only in executables. If it exists,
568 // it is placed right after COFF header.
574 // PE signature to find 'normal' COFF header.
621 const pe32_header *Header;
622 if ((EC = getObject(Header, Data, base() + CurPtr)))
627 if (Header->Magic == COFF::PE32Header::PE32) {
628 PE32Header = Header;
631 } else if (Header->Magic == COFF::PE32Header::PE32_PLUS) {
632 PE32PlusHeader = reinterpret_cast<const pe32plus_header *>(Header);
1402 return Header == Other.Header && Index == Other.Index;
1406 // Header->BlockSize is the size of the current block, including the
1407 // size of the header itself.
1408 uint32_t Size = sizeof(*Header) +
1410 if (Size == Header->BlockSize) {
1412 // consists of the header followed by entries. The header contains
1415 Header = reinterpret_cast<const coff_base_reloc_block_header *>(
1416 reinterpret_cast<const uint8_t *>(Header) + Size);
1424 auto *Entry = reinterpret_cast<const coff_base_reloc_block_entry *>(Header + 1);
1430 auto *Entry = reinterpret_cast<const coff_base_reloc_block_entry *>(Header + 1);
1431 Result = Header->PageRVA + Entry[Index].getOffset();