15#ifndef LIEF_MACHO_ENUMS_H
16#define LIEF_MACHO_ENUMS_H
Namespace related to the LIEF's Mach-O module.
Definition Abstract/Header.hpp:36
ARM64_RELOCATION
Definition MachO/enums.hpp:125
@ ARM64_RELOC_POINTER_TO_GOT
For pointers to GOT slots.
Definition MachO/enums.hpp:148
@ ARM64_RELOC_TLVP_LOAD_PAGEOFF12
Offset within page of TLVP slot, scaled by MachO::Relocation::size.
Definition MachO/enums.hpp:154
@ ARM64_RELOC_GOT_LOAD_PAGE21
PC-rel distance to page of GOT slot.
Definition MachO/enums.hpp:142
@ ARM64_RELOC_PAGEOFF12
Offset within page, scaled by MachO::Relocation::size.
Definition MachO/enums.hpp:139
@ ARM64_RELOC_GOT_LOAD_PAGEOFF12
Offset within page of GOT slot, scaled by MachO::Relocation::size.
Definition MachO/enums.hpp:145
@ ARM64_RELOC_UNSIGNED
For pointers.
Definition MachO/enums.hpp:127
@ ARM64_RELOC_TLVP_LOAD_PAGE21
PC-rel distance to page of TLVP slot.
Definition MachO/enums.hpp:151
@ ARM64_RELOC_ADDEND
Must be followed by ARM64_RELOCATION::ARM64_RELOC_PAGE21 or ARM64_RELOCATION::ARM64_RELOC_PAGEOFF12.
Definition MachO/enums.hpp:158
@ ARM64_RELOC_PAGE21
PC-rel distance to page of target.
Definition MachO/enums.hpp:136
@ ARM64_RELOC_SUBTRACTOR
Must be followed by an ARM64_RELOCATION::ARM64_RELOC_UNSIGNED.
Definition MachO/enums.hpp:130
@ ARM64_RELOC_BRANCH26
A B/BL instruction with 26-bit displacement.
Definition MachO/enums.hpp:133
ARM_RELOCATION
Definition MachO/enums.hpp:111
@ ARM_RELOC_VANILLA
Definition MachO/enums.hpp:112
@ ARM_RELOC_SECTDIFF
Definition MachO/enums.hpp:114
@ ARM_RELOC_BR24
Definition MachO/enums.hpp:117
@ ARM_THUMB_RELOC_BR22
Definition MachO/enums.hpp:118
@ ARM_RELOC_PB_LA_PTR
Definition MachO/enums.hpp:116
@ ARM_THUMB_32BIT_BRANCH
Definition MachO/enums.hpp:119
@ ARM_RELOC_PAIR
Definition MachO/enums.hpp:113
@ ARM_RELOC_HALF
Definition MachO/enums.hpp:120
@ ARM_RELOC_HALF_SECTDIFF
Definition MachO/enums.hpp:121
@ ARM_RELOC_LOCAL_SECTDIFF
Definition MachO/enums.hpp:115
X86_64_RELOCATION
Definition MachO/enums.hpp:66
@ X86_64_RELOC_SUBTRACTOR
Must be followed by a X86_64_RELOCATION::X86_64_RELOC_UNSIGNED relocation.
Definition MachO/enums.hpp:83
@ X86_64_RELOC_BRANCH
Other GOT references.
Definition MachO/enums.hpp:74
@ X86_64_RELOC_SIGNED_2
Definition MachO/enums.hpp:85
@ X86_64_RELOC_GOT
Absolute address.
Definition MachO/enums.hpp:80
@ X86_64_RELOC_GOT_LOAD
Signed 32-bit displacement.
Definition MachO/enums.hpp:77
@ X86_64_RELOC_SIGNED
A MOVQ load of a GOT entry.
Definition MachO/enums.hpp:71
@ X86_64_RELOC_SIGNED_4
Definition MachO/enums.hpp:86
@ X86_64_RELOC_TLV
Definition MachO/enums.hpp:87
@ X86_64_RELOC_SIGNED_1
Definition MachO/enums.hpp:84
@ X86_64_RELOC_UNSIGNED
A CALL/JMP instruction with 32-bit displacement.
Definition MachO/enums.hpp:68
X86_RELOCATION
Definition MachO/enums.hpp:37
@ GENERIC_RELOC_SECTDIFF
A relocation entry for an item that contains the difference of two section addresses....
Definition MachO/enums.hpp:47
@ GENERIC_RELOC_LOCAL_SECTDIFF
Similar to X86_RELOCATION::GENERIC_RELOC_SECTDIFF except that this entry refers specifically to the a...
Definition MachO/enums.hpp:58
@ GENERIC_RELOC_PAIR
The second relocation entry of a pair.
Definition MachO/enums.hpp:43
@ GENERIC_RELOC_PB_LA_PTR
contains the address from which to subtract; it must be followed by a X86_RELOCATION::GENERIC_RELOC_P...
Definition MachO/enums.hpp:51
@ GENERIC_RELOC_VANILLA
A generic relocation entry for both addresses contained in data and addresses contained in CPU instru...
Definition MachO/enums.hpp:40
@ GENERIC_RELOC_TLV
A relocation entry for a prebound lazy pointer. This is always a scattered relocation entry....
Definition MachO/enums.hpp:63
MACHO_TYPES
Definition MachO/enums.hpp:23
@ MAGIC_64
64-bit big-endian magic
Definition MachO/enums.hpp:28
@ NEURAL_MODEL
Definition MachO/enums.hpp:33
@ CIGAM_64
64-bit little-endian magic
Definition MachO/enums.hpp:29
@ MAGIC_FAT
big-endian fat magic
Definition MachO/enums.hpp:30
@ CIGAM_FAT
little-endian fat magic
Definition MachO/enums.hpp:31
@ UNKNOWN
Definition MachO/enums.hpp:25
@ MAGIC
32-bit big-endian magic
Definition MachO/enums.hpp:26
@ CIGAM
32-bit little-endian magic
Definition MachO/enums.hpp:27
PPC_RELOCATION
Definition MachO/enums.hpp:91
@ PPC_RELOC_VANILLA
Definition MachO/enums.hpp:92
@ PPC_RELOC_LOCAL_SECTDIFF
Definition MachO/enums.hpp:107
@ PPC_RELOC_PAIR
Definition MachO/enums.hpp:93
@ PPC_RELOC_HI16_SECTDIFF
Definition MachO/enums.hpp:102
@ PPC_RELOC_HI16
Definition MachO/enums.hpp:96
@ PPC_RELOC_BR24
Definition MachO/enums.hpp:95
@ PPC_RELOC_BR14
Definition MachO/enums.hpp:94
@ PPC_RELOC_JBSR
Definition MachO/enums.hpp:105
@ PPC_RELOC_LO14
Definition MachO/enums.hpp:99
@ PPC_RELOC_LO16
Definition MachO/enums.hpp:97
@ PPC_RELOC_SECTDIFF
Definition MachO/enums.hpp:100
@ PPC_RELOC_LO16_SECTDIFF
Definition MachO/enums.hpp:103
@ PPC_RELOC_HA16
Definition MachO/enums.hpp:98
@ PPC_RELOC_HA16_SECTDIFF
Definition MachO/enums.hpp:104
@ PPC_RELOC_PB_LA_PTR
Definition MachO/enums.hpp:101
@ PPC_RELOC_LO14_SECTDIFF
Definition MachO/enums.hpp:106