Searched refs:FileHdr (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/ |
H A D | GenFw.c | 2771 EFI_IMAGE_FILE_HEADER *FileHdr; local 2788 FileHdr = (EFI_IMAGE_FILE_HEADER *) (FileBuffer + DosHdr->e_lfanew + sizeof (UINT32)); 2794 FileHdr = (EFI_IMAGE_FILE_HEADER *)(FileBuffer + sizeof (UINT32)); 2796 FileHdr = (EFI_IMAGE_FILE_HEADER *)(FileBuffer + DosHdr->e_lfanew + sizeof (UINT32)); 2803 if (FileHdr->Machine == EFI_IMAGE_MACHINE_IA32) { 2804 Optional32Hdr = (EFI_IMAGE_OPTIONAL_HEADER32 *) ((UINT8*) FileHdr + sizeof (EFI_IMAGE_FILE_HEADER)); 2805 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ((UINT8 *) Optional32Hdr + FileHdr->SizeOfOptionalHeader); 2823 Optional64Hdr = (EFI_IMAGE_OPTIONAL_HEADER64 *) ((UINT8*) FileHdr + sizeof (EFI_IMAGE_FILE_HEADER)); 2824 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) ((UINT8 *) Optional64Hdr + FileHdr->SizeOfOptionalHeader); 2846 for (Index = 0; Index < FileHdr 2928 EFI_IMAGE_FILE_HEADER *FileHdr; local [all...] |
/vbox/src/VBox/Runtime/common/ldr/ |
H A D | ldrPE.cpp | 3629 IMAGE_FILE_HEADER FileHdr; local 3630 int rc = pReader->pfnRead(pReader, &FileHdr, sizeof(FileHdr), offNtHdrs + 4); 3635 rc = rtldrPEValidateFileHeader(&FileHdr, fFlags, pszLogName, &enmArchImage); 3656 rc = pReader->pfnRead(pReader, &OptHdr, FileHdr.SizeOfOptionalHeader, offNtHdrs + 4 + sizeof(IMAGE_FILE_HEADER)); 3659 if (FileHdr.SizeOfOptionalHeader != sizeof(OptHdr)) 3661 rc = rtldrPEValidateOptionalHeader(&OptHdr, pszLogName, offNtHdrs, &FileHdr, pReader->pfnSize(pReader), fFlags); 3670 const size_t cbSections = sizeof(IMAGE_SECTION_HEADER) * FileHdr.NumberOfSections; 3675 offNtHdrs + 4 + sizeof(IMAGE_FILE_HEADER) + FileHdr.SizeOfOptionalHeader); 3678 rc = rtldrPEValidateSectionHeaders(paSections, FileHdr [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | SSM.cpp | 5057 SSMFILEHDR FileHdr; 5058 memcpy(&FileHdr.szMagic, SSMFILEHDR_MAGIC_V2_0, sizeof(FileHdr.szMagic)); 5059 FileHdr.u16VerMajor = VBOX_VERSION_MAJOR; 5060 FileHdr.u16VerMinor = VBOX_VERSION_MINOR; 5061 FileHdr.u32VerBuild = VBOX_VERSION_BUILD; 5062 FileHdr.u32SvnRev = VMMGetSvnRev(); 5063 FileHdr.cHostBits = HC_ARCH_BITS; 5064 FileHdr.cbGCPhys = sizeof(RTGCPHYS); 5065 FileHdr [all...] |
Completed in 93 milliseconds