[][src]Module goblin::mach::relocation

Structs

RelocationInfo

Constants

ARM64_RELOC_UNSIGNED

For pointers.

ARM64_RELOC_SUBTRACTOR

Must be followed by an ARM64_RELOC_UNSIGNED

ARM64_RELOC_POINTER_TO_GOT

For pointers to GOT slots.

ARM64_RELOC_ADDEND

Must be followed by ARM64_RELOC_PAGE21 or ARM64_RELOC_PAGEOFF12.

ARM64_RELOC_BRANCH26

A B/BL instruction with 26-bit displacement.

ARM64_RELOC_GOT_LOAD_PAGE21

PC-rel distance to page of GOT slot.

ARM64_RELOC_GOT_LOAD_PAGEOFF12

Offset within page of GOT slot, scaled by r_length.

ARM64_RELOC_PAGE21

PC-rel distance to page of target.

ARM64_RELOC_PAGEOFF12

Offset within page, scaled by r_length.

ARM64_RELOC_TLVP_LOAD_PAGE21

PC-rel distance to page of TLVP slot.

ARM64_RELOC_TLVP_LOAD_PAGEOFF12

Offset within page of TLVP slot, scaled by r_length.

ARM_RELOC_BR24
ARM_RELOC_HALF
ARM_RELOC_HALF_SECTDIFF
ARM_RELOC_LOCAL_SECTDIFF
ARM_RELOC_PAIR
ARM_RELOC_PB_LA_PTR
ARM_RELOC_SECTDIFF
ARM_RELOC_VANILLA
ARM_THUMB_32BIT_BRANCH

Obsolete

ARM_THUMB_RELOC_BR22
GENERIC_RELOC_LOCAL_SECTDIFF
GENERIC_RELOC_PAIR
GENERIC_RELOC_PB_LA_PTR
GENERIC_RELOC_SECTDIFF
GENERIC_RELOC_TLV
GENERIC_RELOC_VANILLA
R_ABS

Absolute relocation type for Mach-O files

SIZEOF_RELOCATION_INFO
X86_64_RELOC_UNSIGNED

Absolute address

X86_64_RELOC_SIGNED

Signed 32-bit displacement

X86_64_RELOC_BRANCH

A CALL/JMP instruction with 32-bit displacement

X86_64_RELOC_GOT_LOAD

A MOVQ load of a GOT entry

X86_64_RELOC_GOT

Other GOT references

X86_64_RELOC_SUBTRACTOR

Must be followed by a X86_64_RELOC_UNSIGNED relocation

X86_64_RELOC_TLV

for thread local variables

X86_64_RELOC_SIGNED_1

for signed 32-bit displacement with a -1 addend

X86_64_RELOC_SIGNED_2

for signed 32-bit displacement with a -2 addend

X86_64_RELOC_SIGNED_4

for signed 32-bit displacement with a -4 addend

Functions

reloc_to_str

Type Definitions

RelocType