Lines Matching refs:offset1
335 uint64_t offset1, uint64_t offset2) { in applyAdrpAdd() argument
336 uint32_t ins1 = read32le(buf + offset1); in applyAdrpAdd()
345 uint64_t addr1 = isec->getVA() + offset1; in applyAdrpAdd()
351 writeAdr(buf + offset1, add.destRegister, delta); in applyAdrpAdd()
364 uint64_t offset1, uint64_t offset2) { in applyAdrpAdrp() argument
365 uint32_t ins1 = read32le(buf + offset1); in applyAdrpAdrp()
373 uint64_t page1 = pageBits(offset1 + isec->getVA()) + adrp1.addend; in applyAdrpAdrp()
391 uint64_t offset1, uint64_t offset2) { in applyAdrpLdr() argument
392 uint32_t ins1 = read32le(buf + offset1); in applyAdrpLdr()
401 uint64_t addr1 = isec->getVA() + offset1; in applyAdrpLdr()
408 writeNop(buf + offset1); in applyAdrpLdr()
416 uint64_t offset1, uint64_t offset2) { in applyAdrpLdrGot() argument
421 applyAdrpAdd(buf, isec, offset1, offset2); in applyAdrpLdrGot()
423 applyAdrpLdr(buf, isec, offset1, offset2); in applyAdrpLdrGot()
434 uint64_t offset1, uint64_t offset2, in applyAdrpAddLdr() argument
436 uint32_t ins1 = read32le(buf + offset1); in applyAdrpAddLdr()
457 uint64_t addr1 = isec->getVA() + offset1; in applyAdrpAddLdr()
463 writeNop(buf + offset1); in applyAdrpAddLdr()
475 writeAdr(buf + offset1, ldr.baseRegister, adrOffset); in applyAdrpAddLdr()
502 uint64_t offset1, uint64_t offset2, in applyAdrpLdrGotLdr() argument
509 applyAdrpAddLdr(buf, isec, offset1, offset2, offset3); in applyAdrpLdrGotLdr()
515 uint32_t ins1 = read32le(buf + offset1); in applyAdrpLdrGotLdr()
532 uint64_t addr1 = isec->getVA() + offset1; in applyAdrpLdrGotLdr()
542 writeNop(buf + offset1); in applyAdrpLdrGotLdr()