Lines Matching refs:NumberOfSections
95 /** 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 * sizeof(IMAGE_SECTION_HEADER)));
3670 const size_t cbSections = sizeof(IMAGE_SECTION_HEADER) * FileHdr.NumberOfSections;
3678 rc = rtldrPEValidateSectionHeaders(paSections, FileHdr.NumberOfSections, pszLogName,
3714 pModPe->cSections = FileHdr.NumberOfSections;