Lines Matching refs:uRva
256 * @param uRva The RVA to read at.
261 static int rtldrPEReadPartByRva(PRTLDRMODPE pThis, const void *pvBits, uint32_t uRva, uint32_t cbMem, void const **ppvMem)
272 *ppvMem = (uint8_t const *)pvBits + uRva;
277 *ppvMem = (uint8_t const *)pThis->pvBits + uRva;
297 uint32_t offFile = uRva;
301 if (uRva < pThis->paSections[0].VirtualAddress)
304 cbToRead = pThis->paSections[0].VirtualAddress - uRva;
329 offSection = uRva - pThis->paSections[j].VirtualAddress;
377 uRva += cbToAdv;
431 * @param uRva The RVA to read at.
437 static int rtldrPEReadPart(PRTLDRMODPE pThis, const void *pvBits, RTFOFF offFile, RTLDRADDR uRva,
440 if ( uRva == NIL_RTLDRADDR
441 || uRva > pThis->cbImage
443 || uRva + cbMem > pThis->cbImage)
449 return rtldrPEReadPartByRva(pThis, pvBits, (uint32_t)uRva, cbMem, ppvMem);