Searched refs:NumberOfSections (Results 1 - 25 of 33) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DBasePeCoff.c396 for (Index = 0; Index < PeHdr->Pe32.FileHeader.NumberOfSections; Index++) {
461 for (Index = 0; Index < TeHdr->NumberOfSections;) {
489 if (Index < (UINTN) TeHdr->NumberOfSections - 1) {
490 SectionHeaderOffset += (TeHdr->NumberOfSections - 1 - Index) * sizeof (EFI_IMAGE_SECTION_HEADER);
491 Index = TeHdr->NumberOfSections - 1;
506 if ((++Index) == (UINTN) TeHdr->NumberOfSections) {
851 UINTN NumberOfSections; local
944 NumberOfSections = (UINTN) (PeHdr->Pe32.FileHeader.NumberOfSections);
959 NumberOfSections
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/
H A DBasePeCoff.c74 UINTN NumberOfSections; local
309 NumberOfSections = (UINTN) (Hdr.Te->NumberOfSections);
312 NumberOfSections = (UINTN) (Hdr.Pe32->FileHeader.NumberOfSections);
315 for (Index = 0; Index < NumberOfSections; Index++) {
518 for (Index = 0; Index < Hdr.Pe32->FileHeader.NumberOfSections; Index++) {
579 for (Index = 0; Index < Hdr.Te->NumberOfSections;) {
607 if (Index < (UINTN) Hdr.Te->NumberOfSections - 1) {
608 SectionHeaderOffset += (Hdr.Te->NumberOfSections
1011 UINTN NumberOfSections; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Image/
H A DImage.c233 UINT16 NumberOfSections; local
250 NumberOfSections = ImgHdr->Te.NumberOfSections;
258 NumberOfSections = ImgHdr->Pe32.FileHeader.NumberOfSections;
263 for (Index = 0; Index < NumberOfSections; Index++) {
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxPeCoffLib/
H A DBasePeCoff.c399 for (Index = 0; Index < Hdr.Pe32->FileHeader.NumberOfSections; Index++) {
462 for (Index = 0; Index < Hdr.Te->NumberOfSections;) {
490 if (Index < (UINTN) Hdr.Te->NumberOfSections - 1) {
491 SectionHeaderOffset += (Hdr.Te->NumberOfSections - 1 - Index) * sizeof (EFI_IMAGE_SECTION_HEADER);
492 Index = Hdr.Te->NumberOfSections - 1;
507 if ((++Index) == (UINTN)Hdr.Te->NumberOfSections) {
890 UINTN NumberOfSections; local
997 NumberOfSections = (UINTN) (Hdr.Pe32->FileHeader.NumberOfSections);
1012 NumberOfSections
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DElf64Convert.c421 NtHdr->Pe32Plus.FileHeader.NumberOfSections = mCoffNbrSections;
457 NtHdr->Pe32Plus.FileHeader.NumberOfSections--;
467 NtHdr->Pe32Plus.FileHeader.NumberOfSections--;
479 NtHdr->Pe32Plus.FileHeader.NumberOfSections--;
697 NtHdr->Pe32Plus.FileHeader.NumberOfSections--;
749 NtHdr->Pe32Plus.FileHeader.NumberOfSections--;
H A DGenFw.c581 for (Index = 0; Index < PeHdr->Pe32.FileHeader.NumberOfSections; Index ++, SectionHeader ++) {
653 for (Index = 0; Index < PeHdr->Pe32.FileHeader.NumberOfSections; Index ++, SectionHeader ++) {
897 for (Index = 0; Index < ImgHdr->Pe32.FileHeader.NumberOfSections; Index ++, SectionHeader ++) {
907 if (Index == ImgHdr->Pe32.FileHeader.NumberOfSections) {
1007 for (Index = 0; Index < ImgHdr->Pe32.FileHeader.NumberOfSections; Index ++, SectionHeader ++) {
1951 fprintf (fpInOut, "%17X number of sections\n", TEImageHeader.NumberOfSections);
1964 fprintf (fpOut, "%17X number of sections\n", TEImageHeader.NumberOfSections);
2059 for (Index = 0; Index < TeHdr->NumberOfSections; Index ++, SectionHeader ++) {
2098 for (Index = 0; Index < PeHdr->Pe32.FileHeader.NumberOfSections; Index ++, SectionHeader ++) {
2259 for (Index = 0; Index < PeHdr->Pe32.FileHeader.NumberOfSections; Inde
[all...]
H A DElf32Convert.c428 NtHdr->Pe32.FileHeader.NumberOfSections = mCoffNbrSections;
465 NtHdr->Pe32.FileHeader.NumberOfSections--;
475 NtHdr->Pe32.FileHeader.NumberOfSections--;
487 NtHdr->Pe32.FileHeader.NumberOfSections--;
939 NtHdr->Pe32.FileHeader.NumberOfSections--;
992 NtHdr->Pe32.FileHeader.NumberOfSections--;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/PiSmmCore/
H A DPiSmmIpl.c770 UINT16 NumberOfSections; local
792 NumberOfSections = ImgHdr->Pe32.FileHeader.NumberOfSections;
797 for (Index = 0; Index < NumberOfSections; Index++) {
H A DDispatcher.c224 UINT16 NumberOfSections; local
240 NumberOfSections = ImgHdr->Pe32.FileHeader.NumberOfSections;
245 for (Index = 0; Index < NumberOfSections; Index++) {
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c507 // structures in the image. The 'NumberOfSections' field of the image
511 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * Hdr.Pe32->FileHeader.NumberOfSections);
530 for (Index = 0; Index < Hdr.Pe32->FileHeader.NumberOfSections; Index++) {
547 for (Index = 0; Index < Hdr.Pe32->FileHeader.NumberOfSections; Index++) {
/vbox/src/VBox/Devices/PC/ipxe/src/util/
H A Delf2efi.c450 pe_header->nt.FileHeader.NumberOfSections++;
534 pe_header->nt.FileHeader.NumberOfSections++;
592 pe_header->nt.FileHeader.NumberOfSections++;
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/
H A DPeImage.h82 UINT16 NumberOfSections; member in struct:__anon11721
720 UINT8 NumberOfSections; ///< From the original file header. member in struct:__anon11751
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Include/IndustryStandard/
H A DPeImage.h99 UINT16 NumberOfSections; member in struct:__anon10145
734 UINT8 NumberOfSections; // from the original file header member in struct:__anon10179
/vbox/src/VBox/Devices/PC/ipxe/src/include/ipxe/efi/IndustryStandard/
H A DPeImage.h84 UINT16 NumberOfSections; member in struct:__anon15522
722 UINT8 NumberOfSections; ///< From the original file header. member in struct:__anon15552
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Dxe/Image/
H A DImage.c355 UINT16 NumberOfSections; local
373 NumberOfSections = ImgHdr->Pe32.FileHeader.NumberOfSections;
378 for (Index = 0; Index < NumberOfSections; Index++) {
/vbox/src/VBox/Debugger/
H A DDBGPlugInWinNt.cpp475 uint32_t const cShs = WINNT_UNION(pThis, pHdrs, FileHeader.NumberOfSections);
655 if (WINNT_UNION(pThis, pHdrs, FileHeader.NumberOfSections) > 64)
657 Log(("DigWinNt: %s: Too many sections: %#x\n", pszName, WINNT_UNION(pThis, pHdrs, FileHeader.NumberOfSections)));
982 && pHdrs->FileHeader.NumberOfSections >= 10 /* the kernel has lots */
1062 && pHdrs->FileHeader.NumberOfSections >= 10 /* the kernel has lots */
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/Eot/
H A DFvImage.py1143 # NumberOfSections
1160 self.NumberOfSections = 0
1188 self.Machine, self.NumberOfSections, self.SizeOfOptionalHeader = \
1191 print "Machine=%x NumberOfSections=%x SizeOfOptionalHeader=%x" % (self.Machine, self.NumberOfSections, self.SizeOfOptionalHeader)
1199 PeSections = PeSectionTable(self._PeImageBuf, self.Offset + PeImageSectionTableOffset, self.NumberOfSections)
1208 def __init__(self, Buf, Offset, NumberOfSections):
1212 for TableIndex in range(0, NumberOfSections):
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmodcodeview.cpp2218 if ( pDbgHdr->NumberOfSections < 1
2219 || pDbgHdr->NumberOfSections > 4096)
2221 Log(("RTDbgModCv: Bad NumberOfSections: %d\n", pDbgHdr->NumberOfSections));
2233 size_t cbShs = pDbgHdr->NumberOfSections * sizeof(IMAGE_SECTION_HEADER);
2245 for (uint32_t i = 0; i < pDbgHdr->NumberOfSections; i++)
2299 for (uint32_t i = 0; RT_SUCCESS(rc) && i < pDbgHdr->NumberOfSections; i++)
2602 Log2((" NumberOfSections = %#x\n", DbgHdr.NumberOfSections));
2637 + DbgHdr.NumberOfSections * sizeo
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c436 // structures in the image. The 'NumberOfSections' field of the image
440 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * mNtHeader.Pe32->FileHeader.NumberOfSections);
451 for (Index = 0; Index < mNtHeader.Pe32->FileHeader.NumberOfSections; Index++) {
468 for (Index = 0; Index < mNtHeader.Pe32->FileHeader.NumberOfSections; Index++) {
/vbox/src/VBox/Runtime/common/ldr/
H A DldrPE.cpp95 /** Number of sections (IMAGE_FILE_HEADER::NumberOfSections). */
3007 if (pFileHdr->NumberOfSections > 42)
3009 Log(("rtldrPEOpen: %s: NumberOfSections=%d - our limit is 42, please raise it if the binary makes sense.(!!!)\n",
3010 pszLogName, pFileHdr->NumberOfSections));
3013 if (pFileHdr->NumberOfSections < 1)
3015 Log(("rtldrPEOpen: %s: NumberOfSections=%d - we can't have an image without sections (!!!)\n",
3016 pszLogName, pFileHdr->NumberOfSections));
3088 if (pOptHdr->SizeOfHeaders < cbMinImageSize + pFileHdr->NumberOfSections * sizeof(IMAGE_SECTION_HEADER))
3092 cbImage, cbMinImageSize, pFileHdr->NumberOfSections * sizeof(IMAGE_SECTION_HEADER),
3093 cbMinImageSize + pFileHdr->NumberOfSections * sizeo
[all...]
/vbox/src/VBox/Runtime/include/internal/
H A DldrPE.h307 uint16_t NumberOfSections; /**< 0x02 */ member in struct:_IMAGE_FILE_HEADER
829 uint32_t NumberOfSections; /**< 0x18 */ member in struct:_IMAGE_SEPARATE_DEBUG_HEADER
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.c1103 // structures in the image. The 'NumberOfSections' field of the image
1107 SectionHeader = (EFI_IMAGE_SECTION_HEADER *) AllocateZeroPool (sizeof (EFI_IMAGE_SECTION_HEADER) * mNtHeader.Pe32->FileHeader.NumberOfSections);
1122 for (Index = 0; Index < mNtHeader.Pe32->FileHeader.NumberOfSections; Index++) {
1139 for (Index = 0; Index < mNtHeader.Pe32->FileHeader.NumberOfSections; Index++) {
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFv/
H A DGenFvInternalLib.c792 Index = ImgHdr->Pe32.FileHeader.NumberOfSections;
798 Index = TEImageHeader->NumberOfSections;
3064 for (Index = 0; Index < ImgHdr->Pe32.FileHeader.NumberOfSections; Index ++, SectionHeader ++) {
3287 for (Index = 0; Index < TEImageHeader->NumberOfSections; Index ++, SectionHeader ++) {
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/libWine/
H A Dloader.c428 nt->FileHeader.NumberOfSections = nb_sections;
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dimagehlp.h233 ULONG NumberOfSections; member in struct:_LOADED_IMAGE
261 DWORD NumberOfSections; member in struct:_IMAGE_DEBUG_INFORMATION

Completed in 6051 milliseconds

12