Home | History | Annotate | Download | only in Object

Lines Matching refs:Rva

436   uint64_t Rva = Addr - ImageBase;
437 assert(Rva <= UINT32_MAX);
438 return getRvaPtr((uint32_t)Rva, Res);
441 // Returns the file offset for the given RVA.
457 COFFObjectFile::getRvaAndSizeAsBytes(uint32_t RVA, uint32_t Size,
462 // Check if this RVA is within the section bounds. Be careful about integer
464 uint32_t OffsetIntoSection = RVA - SectionStart;
465 if (SectionStart <= RVA && OffsetIntoSection < Section->VirtualSize &&
477 // Returns hint and name fields, assuming \p Rva
479 std::error_code COFFObjectFile::getHintName(uint32_t Rva, uint16_t &Hint,
482 if (std::error_code EC = getRvaPtr(Rva, IntPtr))
521 // First, we get the RVA of the import table. If the file lacks a pointer to
533 // Find the section that contains the RVA. This is needed because the RVA is
553 uint32_t RVA = DataEntry->RelativeVirtualAddress;
558 if (std::error_code EC = getRvaPtr(RVA, IntPtr))
567 // First, we get the RVA of the export table. If the file lacks a pointer to
604 // Get the RVA of the debug directory. Do nothing if it does not exist.
609 // Do nothing if the RVA is NULL.
1227 importedSymbolBegin(uint32_t RVA, const COFFObjectFile *Object) {
1229 Object->getRvaPtr(RVA, IntPtr);
1234 importedSymbolEnd(uint32_t RVA, const COFFObjectFile *Object) {
1236 Object->getRvaPtr(RVA, IntPtr);
1331 uint32_t RVA = Table[Index].DelayImportAddressTable +
1334 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr))
1421 uint32_t RVA;
1422 if (auto EC = getExportRVA(RVA))
1426 Result = (Begin <= RVA && RVA < End);
1431 uint32_t RVA;
1432 if (auto EC = getExportRVA(RVA))
1435 if (auto EC = OwningObject->getRvaPtr(RVA, IntPtr))
1453 uint32_t RVA;
1458 RVA = Entry32[Index].getHintNameRVA();
1462 RVA = Entry64[Index].getHintNameRVA();
1465 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr))
1489 uint32_t RVA;
1495 RVA = Entry32[Index].getHintNameRVA();
1501 RVA = Entry64[Index].getHintNameRVA();
1504 if (std::error_code EC = OwningObject->getRvaPtr(RVA, IntPtr))