Lines Matching refs:pbImageBits
1826 int VBOXCALL supdrvOSLdrValidatePointer(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, void *pv, const uint8_t *pbImageBits)
1828 NOREF(pDevExt); NOREF(pImage); NOREF(pv); NOREF(pbImageBits);
1838 * @param pbImageBits The image bits ring-3 uploads.
1842 static int supdrvNtCompare(PSUPDRVLDRIMAGE pImage, const uint8_t *pbImageBits, uint32_t uRva, uint32_t cb)
1844 int iDiff = memcmp((uint8_t const *)pImage->pvImage + uRva, pbImageBits + uRva, cb);
1850 if (pbNativeBits[off] != pbImageBits[off])
1855 RT_MIN(12, cbLeft), &pbImageBits[off]);
1863 int VBOXCALL supdrvOSLdrLoad(PSUPDRVDEVEXT pDevExt, PSUPDRVLDRIMAGE pImage, const uint8_t *pbImageBits, PSUPLDRLOAD pReq)
1871 if (!memcmp(pImage->pvImage, pbImageBits, pImage->cbImageBits))
1884 pNtHdrs = (IMAGE_NT_HEADERS const *)(pbImageBits
1885 + ( *(uint16_t *)pbImageBits == IMAGE_DOS_SIGNATURE
1886 ? ((IMAGE_DOS_HEADER const *)pbImageBits)->e_lfanew
1905 pImp = (IMAGE_IMPORT_DESCRIPTOR const *)(pbImageBits
1916 IMAGE_THUNK_DATA const *paThunk = (IMAGE_THUNK_DATA const *)(pbImageBits + uRvaThunk);
1946 iDiff = supdrvNtCompare(pImage, pbImageBits, uRvaNext, aExcludeRgns[i].uRva - uRvaNext);
1950 iDiff = supdrvNtCompare(pImage, pbImageBits, uRvaNext, pImage->cbImageBits - uRvaNext);
1955 supdrvNtCompare(pImage, pbImageBits, 0, pImage->cbImageBits);