Home
last modified time | relevance | path

Searched refs:rel_offset (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/interception/
H A Dinterception_win.cpp460 static size_t GetInstructionSize(uptr address, size_t* rel_offset = nullptr) { in GetInstructionSize() argument
589 if (rel_offset) in GetInstructionSize()
590 *rel_offset = 2; in GetInstructionSize()
640 if (rel_offset) in GetInstructionSize()
641 *rel_offset = 3; in GetInstructionSize()
736 size_t rel_offset = 0; in CopyInstructions() local
737 size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset); in CopyInstructions()
742 if (rel_offset) { in CopyInstructions()
747 s64 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta; in CopyInstructions()
753 s32 relocated_offset = *(s32 *)(to + cursor + rel_offset) - delta; in CopyInstructions()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.cpp917 uint64_t rel_offset; in GetImageInfoAddress() local
918 rel_offset = target->ReadUnsignedIntegerFromMemory( in GetImageInfoAddress()
920 if (error.Success() && rel_offset != UINT64_MAX) { in GetImageInfoAddress()
923 dyn_base + (offset - GetAddressByteSize()) + rel_offset; in GetImageInfoAddress()