Searched refs:rel_offset (Results 1 – 2 of 2) sorted by relevance
402 static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) { in GetInstructionSize() argument499 if (rel_offset) in GetInstructionSize()500 *rel_offset = 2; in GetInstructionSize()545 if (rel_offset) in GetInstructionSize()546 *rel_offset = 3; in GetInstructionSize()630 size_t rel_offset = 0; in CopyInstructions() local631 size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset); in CopyInstructions()634 if (rel_offset) { in CopyInstructions()636 uptr relocated_offset = *(u32*)(to + cursor + rel_offset) - delta; in CopyInstructions()641 *(u32*)(to + cursor + rel_offset) = relocated_offset; in CopyInstructions()
868 uint64_t rel_offset; in GetImageInfoAddress() local869 rel_offset = target->ReadUnsignedIntegerFromMemory( in GetImageInfoAddress()871 if (error.Success() && rel_offset != UINT64_MAX) { in GetImageInfoAddress()874 dyn_base + (offset - GetAddressByteSize()) + rel_offset; in GetImageInfoAddress()