Lines Matching defs:RVA

471 // Returns the file offset for the given RVA.
500 "RVA 0x%" PRIx32 " for %s not found", Addr,
503 "RVA 0x%" PRIx32 " not found", Addr);
506 Error COFFObjectFile::getRvaAndSizeAsBytes(uint32_t RVA, uint32_t Size,
512 // Check if this RVA is within the section bounds. Be careful about integer
514 uint32_t OffsetIntoSection = RVA - SectionStart;
515 if (SectionStart <= RVA && OffsetIntoSection < Section->VirtualSize &&
526 "RVA 0x%" PRIx32 " for %s not found", RVA,
529 "RVA 0x%" PRIx32 " not found", RVA);
577 // First, we get the RVA of the import table. If the file lacks a pointer to
589 // Find the section that contains the RVA. This is needed because the RVA is
610 uint32_t RVA = DataEntry->RelativeVirtualAddress;
615 if (Error E = getRvaPtr(RVA, IntPtr, "delay import table"))
627 // First, we get the RVA of the export table. If the file lacks a pointer to
674 // Get the RVA of the debug directory. Do nothing if it does not exist.
679 // Do nothing if the RVA is NULL.
704 // Get the RVA of the TLS directory. Do nothing if it does not exist.
709 // Do nothing if the RVA is NULL.
739 // Get the RVA of the debug directory. Do nothing if it does not exist.
744 // Do nothing if the RVA is NULL.
1533 uint32_t RVA = reloc.getRVA();
1536 if (RVA & ~0xfff) {
1537 cantFail(getRvaPtr(RVA, IntPtr));
1542 Ptr = HybridView->getBufferStart() + RVA;
1593 importedSymbolBegin(uint32_t RVA, const COFFObjectFile *Object) {
1596 cantFail(Object->getRvaPtr(RVA, IntPtr));
1601 importedSymbolEnd(uint32_t RVA, const COFFObjectFile *Object) {
1604 cantFail(Object->getRvaPtr(RVA, IntPtr));
1715 uint32_t RVA = Table[Index].DelayImportAddressTable +
1718 if (Error E = OwningObject->getRvaPtr(RVA, IntPtr, "import address"))
1807 uint32_t RVA;
1808 if (auto EC = getExportRVA(RVA))
1812 Result = (Begin <= RVA && RVA < End);
1817 uint32_t RVA;
1818 if (auto EC = getExportRVA(RVA))
1821 if (auto EC = OwningObject->getRvaPtr(RVA, IntPtr, "export forward target"))
1838 uint32_t RVA;
1843 RVA = Entry32[Index].getHintNameRVA();
1847 RVA = Entry64[Index].getHintNameRVA();
1850 if (Error EC = OwningObject->getRvaPtr(RVA, IntPtr, "import symbol name"))
1874 uint32_t RVA;
1880 RVA = Entry32[Index].getHintNameRVA();
1886 RVA = Entry64[Index].getHintNameRVA();
1889 if (Error EC = OwningObject->getRvaPtr(RVA, IntPtr, "import symbol ordinal"))
2164 "Unaligned ARM64X relocations page RVA (" +
2194 "Unaligned ARM64X relocation RVA (" +