Searched refs:NtHdr (Results 1 – 6 of 6) sorted by relevance
334 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in ScanSections64() local538 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset); in ScanSections64()540 NtHdr->Pe32Plus.Signature = EFI_IMAGE_NT_SIGNATURE; in ScanSections64()544 NtHdr->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_X64; in ScanSections64()545 NtHdr->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC; in ScanSections64()548 NtHdr->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_IPF; in ScanSections64()549 NtHdr->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC; in ScanSections64()552 NtHdr->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_AARCH64; in ScanSections64()553 NtHdr->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC; in ScanSections64()557 NtHdr->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_X64; in ScanSections64()[all …]
342 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in ScanSections32() local546 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset); in ScanSections32()548 NtHdr->Pe32.Signature = EFI_IMAGE_NT_SIGNATURE; in ScanSections32()552 NtHdr->Pe32.FileHeader.Machine = EFI_IMAGE_MACHINE_IA32; in ScanSections32()553 NtHdr->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC; in ScanSections32()556 NtHdr->Pe32.FileHeader.Machine = EFI_IMAGE_MACHINE_ARMT; in ScanSections32()557 NtHdr->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC; in ScanSections32()561 NtHdr->Pe32.FileHeader.Machine = EFI_IMAGE_MACHINE_IA32; in ScanSections32()562 NtHdr->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC; in ScanSections32()565 NtHdr->Pe32.FileHeader.NumberOfSections = mCoffNbrSections; in ScanSections32()[all …]
166 EFI_IMAGE_NT_HEADERS *NtHdr; in GetPdbPath() local178 NtHdr = (EFI_IMAGE_NT_HEADERS *) ((UINT8 *) DosHdr + DosHdr->e_lfanew); in GetPdbPath()184 if (NtHdr->FileHeader.Machine == IMAGE_FILE_MACHINE_I386) { in GetPdbPath()186 } else if (NtHdr->FileHeader.Machine == IMAGE_FILE_MACHINE_IA64) { in GetPdbPath()188 } else if (NtHdr->FileHeader.Machine == IMAGE_FILE_MACHINE_X64) { in GetPdbPath()191 Magic = NtHdr->OptionalHeader.Magic; in GetPdbPath()194 OptionalHdr32 = (VOID *) &NtHdr->OptionalHeader; in GetPdbPath()197 OptionalHdr64 = (VOID *) &NtHdr->OptionalHeader; in GetPdbPath()
157 EFI_IMAGE_NT_HEADERS *NtHdr; in GetPdbPath() local169 NtHdr = (EFI_IMAGE_NT_HEADERS *) ((UINT8 *) DosHdr + DosHdr->e_lfanew); in GetPdbPath()175 if (NtHdr->FileHeader.Machine == EFI_IMAGE_MACHINE_IA32) { in GetPdbPath()177 } else if (NtHdr->FileHeader.Machine == EFI_IMAGE_MACHINE_IA64) { in GetPdbPath()179 } else if (NtHdr->FileHeader.Machine == EFI_IMAGE_MACHINE_X64) { in GetPdbPath()182 Magic = NtHdr->OptionalHeader.Magic; in GetPdbPath()185 OptionalHdr32 = (VOID *) &NtHdr->OptionalHeader; in GetPdbPath()188 OptionalHdr64 = (VOID *) &NtHdr->OptionalHeader; in GetPdbPath()
766 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in GetPdbPath() local786 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) DosHdr + DosHdr->e_lfanew); in GetPdbPath()790 if (NtHdr->Pe32.FileHeader.Machine != EFI_IMAGE_MACHINE_EBC) { in GetPdbPath()801 if (NtHdr->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) { in GetPdbPath()802 OptionalHdr32 = (VOID *) &NtHdr->Pe32.OptionalHeader; in GetPdbPath()804 } else if (NtHdr->Pe32Plus.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) { in GetPdbPath()805 OptionalHdr64 = (VOID *) &NtHdr->Pe32Plus.OptionalHeader; in GetPdbPath()
8555 } else if (NtHdr->FileHeader.Machine == EFI_IMAGE_MACHINE_X64) {8557 + } else if (NtHdr->FileHeader.Machine == EFI_IMAGE_MACHINE_AARCH64) {8560 Magic = NtHdr->OptionalHeader.Magic;