Lines Matching refs:getRVA
90 uint64_t secRel = s - os->getRVA(); in applySecRel()
285 applyArm64Imm(off, (s - os->getRVA()) & 0xfff, 0); in applySecRelLow12A()
292 uint64_t secRel = (s - os->getRVA()) >> 12; in applySecRelHigh12A()
304 applyArm64Ldr(off, (s - os->getRVA()) & 0xfff); in applySecRelLdr()
418 write32le(buf - sizeof(uint32_t), entryThunk->getRVA() - rva + 1); in writeTo()
441 uint64_t s = sym->getRVA(); in applyRelocation()
787 write32le(buf + 2, impSymbol->getRVA() - rva - getSize()); in writeTo()
791 res->emplace_back(getRVA() + 2, ctx.config.machine); in getBaserels()
797 write32le(buf + 2, impSymbol->getRVA() + ctx.config.imageBase); in writeTo()
801 res->emplace_back(getRVA(), IMAGE_REL_BASED_ARM_MOV32T); in getBaserels()
807 applyMOV32T(buf, impSymbol->getRVA() + ctx.config.imageBase); in writeTo()
811 int64_t off = impSymbol->getRVA() & 0xfff; in writeTo()
813 applyArm64Addr(buf, impSymbol->getRVA(), rva, 12); in writeTo()
832 uint64_t offset = target->getRVA() - rva - 12; in writeTo()
854 applyArm64Addr(buf + 0, target->getRVA(), rva, 12); in writeTo()
855 applyArm64Imm(buf + 4, target->getRVA() & 0xfff, 0); in writeTo()
864 res->emplace_back(getRVA(), ctx.config.machine); in getBaserels()
871 write64le(buf, sym->getRVA() + ctx.config.imageBase); in writeTo()
873 write32le(buf, sym->getRVA() + ctx.config.imageBase); in writeTo()
881 begin[cnt++] = co.inputChunk->getRVA() + co.offset; in writeTo()
897 flag.rva = sym.inputChunk->getRVA() + sym.offset; in writeTo()
916 uint32_t start = entry.first->getRVA(); in writeTo()
918 table[i].Length = entry.last->getRVA() + entry.last->getSize() - start; in writeTo()
943 table[idx + 0] = rpr.sym->getRVA(); in writeTo()
944 table[idx + 1] = rpr.target->getRVA() + rpr.targetOffset; in writeTo()