Lines Matching refs:cbRawImage
1312 RTFOFF cbRawImage = pThis->Core.pReader->pfnSize(pThis->Core.pReader);
1313 AssertReturn(cbRawImage >= 0, VERR_INVALID_PARAMETER);
1314 AssertReturn(off >= 0 && cb <= (uint64_t)cbRawImage && (uint64_t)off + cb <= (uint64_t)cbRawImage, VERR_INVALID_PARAMETER);
1439 * @param cbRawImage The size of the raw image.
1441 static int RTLDRELF_NAME(ValidateElfHeader)(const Elf_Ehdr *pEhdr, const char *pszLogName, uint64_t cbRawImage,
1543 if ( pEhdr->e_phoff + pEhdr->e_phnum * pEhdr->e_phentsize > cbRawImage
1559 if ( pEhdr->e_shoff + pEhdr->e_shnum * pEhdr->e_shentsize > cbRawImage
1617 * @param cbRawImage The size of the raw image.
1619 static int RTLDRELF_NAME(ValidateSectionHeader)(PRTLDRMODELF pModElf, unsigned iShdr, const char *pszLogName, RTFOFF cbRawImage)
1713 if ( offEnd > cbRawImage
1717 pszLogName, iShdr, pShdr->sh_offset, pShdr->sh_size, offEnd, cbRawImage));
1723 pszLogName, iShdr, pShdr->sh_offset, pShdr->sh_size, cbRawImage));
1745 RTFOFF cbRawImage = pReader->pfnSize(pReader);
1786 rc = RTLDRELF_NAME(ValidateElfHeader)(&pModElf->Ehdr, pszLogName, cbRawImage, &enmArchImage);
1819 rc = RTLDRELF_NAME(ValidateSectionHeader)(pModElf, i, pszLogName, cbRawImage);