/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/ |
D | PeCoffGetEntryPoint.c | 144 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local 151 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer() 179 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 186 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 191 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/ |
D | PeiEmuPeCoffGetEntryPointLib.c | 142 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local 150 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer() 204 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 211 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 216 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/ |
D | PeCoffGetEntryPoint.c | 161 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local 169 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer() 223 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 230 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 235 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/ |
D | PeCoffGetEntryPoint.c | 169 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local 177 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer() 231 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 238 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 243 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetPdbPointer()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 231 if (EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES < Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader() 243 Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes * sizeof (EFI_IMAGE_DATA_DIRECTORY)) { in PeCoffLoaderGetPeHeader() 301 if (EFI_IMAGE_DIRECTORY_ENTRY_SECURITY < Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader() 346 … if (EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES < Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader() 357 Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes * sizeof (EFI_IMAGE_DATA_DIRECTORY)) { in PeCoffLoaderGetPeHeader() 415 if (EFI_IMAGE_DIRECTORY_ENTRY_SECURITY < Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes) { in PeCoffLoaderGetPeHeader() 607 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() local 685 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() 691 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() 695 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 211 UINT32 NumberOfRvaAndSizes; in GluePeCoffLoaderGetImageInfo() local 283 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderGetImageInfo() 289 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderGetImageInfo() 293 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in GluePeCoffLoaderGetImageInfo() 522 UINT32 NumberOfRvaAndSizes; in GluePeCoffLoaderRelocateImage() local 564 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderRelocateImage() 573 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderRelocateImage() 584 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC && RelocDir->Size > 0) { in GluePeCoffLoaderRelocateImage() 779 UINT32 NumberOfRvaAndSizes; in GluePeCoffLoaderLoadImage() local 1011 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in GluePeCoffLoaderLoadImage() [all …]
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/ |
D | SetStamp.c | 276 unsigned long NumberOfRvaAndSizes; in SetStamp() local 353 if (ReadFromFile (fp, offset, &NumberOfRvaAndSizes, 4) != 0) { in SetStamp() 366 if (NumberOfRvaAndSizes >= 1) { in SetStamp() 381 if (NumberOfRvaAndSizes >= 3) { in SetStamp() 396 if (NumberOfRvaAndSizes >= 7) { in SetStamp()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | MeasureBootPeCoff.c | 121 UINT32 NumberOfRvaAndSizes; in MeasurePeImageAndExtend() local 208 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend() 214 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend() 226 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend() 384 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | MeasureBootPeCoff.c | 121 UINT32 NumberOfRvaAndSizes; in MeasurePeImageAndExtend() local 208 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend() 214 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in MeasurePeImageAndExtend() 226 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend() 384 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 377 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() local 480 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() 486 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetImageInfo() 490 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo() 711 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderRelocateImage() local 771 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderRelocateImage() 780 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderRelocateImage() 791 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC && RelocDir->Size > 0) { in PeCoffLoaderRelocateImage() 1017 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderLoadImage() local 1262 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderLoadImage() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | BasePeCoff.c | 356 if (OptionHeader.Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo() 369 if (OptionHeader.Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetImageInfo() 646 if (OptionHeader.Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderRelocateImage() 681 if (OptionHeader.Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderRelocateImage() 1100 if (OptionHeader.Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderLoadImage() 1108 if (OptionHeader.Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in PeCoffLoaderLoadImage() 1257 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() local 1269 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetPdbPointer() 1349 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() 1355 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetPdbPointer() [all …]
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | PeLoader.c | 135 UINT32 NumberOfRvaAndSizes; in EfiLdrPeCoffLoadPeImage() local 269 NumberOfRvaAndSizes = PeHdr.Pe32.OptionalHeader.NumberOfRvaAndSizes; in EfiLdrPeCoffLoadPeImage() 272 NumberOfRvaAndSizes = PeHdr.Pe32Plus.OptionalHeader.NumberOfRvaAndSizes; in EfiLdrPeCoffLoadPeImage() 276 for (Index = 0; Index < NumberOfRvaAndSizes; Index++) { in EfiLdrPeCoffLoadPeImage()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/ |
D | GdbStub.c | 864 UINT32 NumberOfRvaAndSizes; in PeCoffLoaderGetDebuggerInfo() local 873 NumberOfRvaAndSizes = 0; in PeCoffLoaderGetDebuggerInfo() 937 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetDebuggerInfo() 945 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in PeCoffLoaderGetDebuggerInfo() 950 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in PeCoffLoaderGetDebuggerInfo()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
D | DxeTpmMeasureBootLib.c | 328 UINT32 NumberOfRvaAndSizes; in TcgMeasurePeImage() local 445 NumberOfRvaAndSizes = Hdr.Pe32->OptionalHeader.NumberOfRvaAndSizes; in TcgMeasurePeImage() 451 NumberOfRvaAndSizes = Hdr.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in TcgMeasurePeImage() 463 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in TcgMeasurePeImage() 621 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in TcgMeasurePeImage()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
D | DxeImageVerificationLib.c | 309 UINT32 NumberOfRvaAndSizes; in HashPeImage() local 395 NumberOfRvaAndSizes = mNtHeader.Pe32->OptionalHeader.NumberOfRvaAndSizes; in HashPeImage() 401 NumberOfRvaAndSizes = mNtHeader.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in HashPeImage() 418 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in HashPeImage() 577 if (NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in HashPeImage() 1593 UINT32 NumberOfRvaAndSizes; in DxeImageVerificationHandler() local 1741 NumberOfRvaAndSizes = mNtHeader.Pe32->OptionalHeader.NumberOfRvaAndSizes; in DxeImageVerificationHandler() 1742 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in DxeImageVerificationHandler() 1749 NumberOfRvaAndSizes = mNtHeader.Pe32Plus->OptionalHeader.NumberOfRvaAndSizes; in DxeImageVerificationHandler() 1750 if (NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_SECURITY) { in DxeImageVerificationHandler()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | GenFw.c | 2120 if (Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main() 2129 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main() 2341 if (Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main() 2346 if (Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in main() 2354 …if (!KeepExceptionTableFlag && Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTI… in main() 2382 …if (!KeepZeroPendingFlag && Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC)… in main() 2434 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in main() 2439 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in main() 2449 if (Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_EXCEPTION && in main() 2490 if (!KeepZeroPendingFlag && Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in main() [all …]
|
D | Elf64Convert.c | 585 NtHdr->Pe32Plus.OptionalHeader.NumberOfRvaAndSizes = EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES; in ScanSections64()
|
D | Elf32Convert.c | 590 NtHdr->Pe32.OptionalHeader.NumberOfRvaAndSizes = EFI_IMAGE_NUMBER_OF_DIRECTORY_ENTRIES; in ScanSections32()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/FwImage/ |
D | fwimage.c | 134 if ((PeHdr->PeHeader32.OptionalHeader.NumberOfRvaAndSizes > IMAGE_DIRECTORY_ENTRY_EXCEPTION) && in ZeroExceptionTable() 147 if ((PeHdr->PeHeader64.OptionalHeader.NumberOfRvaAndSizes > IMAGE_DIRECTORY_ENTRY_EXCEPTION) && in ZeroExceptionTable() 208 if ((Optional32->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) && in StripZeroPendingReloc() 242 if ((Optional64->NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) && in StripZeroPendingReloc()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenTEImage/ |
D | GenTEImage.c | 378 if (OptionalHeader32.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in ProcessFile() 383 if (OptionalHeader32.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in ProcessFile() 419 if (OptionalHeader64.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_BASERELOC) { in ProcessFile() 424 if (OptionalHeader64.NumberOfRvaAndSizes > EFI_IMAGE_DIRECTORY_ENTRY_DEBUG) { in ProcessFile()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiImage.h | 202 UINT32 NumberOfRvaAndSizes; member 248 UINT32 NumberOfRvaAndSizes; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | PeImage.h | 182 UINT32 NumberOfRvaAndSizes; member 232 UINT32 NumberOfRvaAndSizes; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
D | PeImage.h | 210 UINT32 NumberOfRvaAndSizes; member 257 UINT32 NumberOfRvaAndSizes; member
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/ |
D | FvImage.py | 1194 Magic, self.SizeOfImage, SizeOfHeaders, self.Checksum, NumberOfRvaAndSizes = \ 1196 …berOfRvaAndSizes=%x" % (Magic, self.SizeOfImage, SizeOfHeaders, self.Checksum, NumberOfRvaAndSizes)
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
D | SplitFspBin.py | 538 if self.PeHdr.OptionalHeader.NumberOfRvaAndSizes <= EFI_IMAGE_DIRECTORY_ENTRY.BASERELOC:
|